Command Args • AI Agent SDK

command_args: Extract command arguments if this is a command message.

command_args

Method

</div>

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

Extract command arguments if this is a command message.

Signature

python
def command_args() -> List[str]

Returns

ResponseField List[str]

The result of the operation.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 698