Agents can advertise a set of slash commands that users can invoke. These commands provide quick access to specific agent capabilities and workflows. Commands are run as part of regular prompt requests where the Client includes the command text in the prompt.Documentation Index
Fetch the complete documentation index at: https://agentclientprotocol.com/llms.txt
Use this file to discover all available pages before exploring further.
Advertising commands
After creating a session, the Agent MAY send a list of available commands via theavailable_commands_update session notification:
The list of commands available in this session
AvailableCommand
The command name (e.g., “web”, “test”, “plan”)
Human-readable description of what the command does
Optional input specification for the command
AvailableCommandInput
Currently supports unstructured text input:A hint to display when the input hasn’t been provided yet
Dynamic updates
The Agent can update the list of available commands at any time during a session by sending anotheravailable_commands_update notification. This allows commands to be added based on context, removed when no longer relevant, or modified with updated descriptions.