action • Rust AI Agent SDK

action: Add an action

action

Method

</div>

This is a method of the BotResponse class in the protocols module.

Add an action

Signature

python
def action(mut self, action: BotAction) -> Self

Parameters

ParamField BotAction

No description available.

Returns

ResponseField Self

The result of the operation.