List Commands • AI Agent SDK

list_commands: List all registered chat commands.

list_commands

Method

</div>

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

List all registered chat commands.

Signature

python
def list_commands() -> List[ChatCommandInfo]

Returns

ResponseField List[ChatCommandInfo]

List of ChatCommandInfo for all registered commands

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1345