Skip to content

CommandsChangedMessage

Base classes

Name Children Inherits
BaseSystemMessage
clawd_code_sdk.models.system_messages
Base class for all system messages.

⋔ Inheritance diagram

graph TD
  1891629850["system_messages.CommandsChangedMessage"]
  3228074852["system_messages.BaseSystemMessage"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3228074852 --> 1891629850
  3879467795 --> 3228074852
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseSystemMessage

Emitted when the set of available slash commands changes.

Source code in src/clawd_code_sdk/models/system_messages.py
class CommandsChangedMessage(BaseSystemMessage):
    """Emitted when the set of available slash commands changes."""

    subtype: Literal["commands_changed"] = "commands_changed"
    commands: list[ClaudeCodeCommandInfo]

:fa-brands-github: Show source on GitHub