Chat Command Info • AI Agent SDK

ChatCommandInfo: Metadata for a registered chat command.

ChatCommandInfo

Defined in the protocols module.

AI Agent

Metadata for a registered chat command.

Attributes: name: Command name (without /) description: Human-readable description usage: Usage example (e.g., “/status”) hidden: Whether to hide from /help listing

Properties

ResponseField str

No description available.

ResponseField str

No description available.

ResponseField Optional[str]

No description available.

ResponseField bool

No description available.

Internal & Generic Methods
  • from_dict: Create from dictionary.
  • to_dict: Convert to dictionary.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 1284


Related Documentation