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 text input withtype: "text":
A hint to display when the input hasn’t been provided yet
type values. Custom input types MUST begin with _; unknown non-underscore input types are reserved for future ACP variants. Clients that cannot render an input specification should preserve it when storing, replaying, proxying, or forwarding command metadata, and otherwise display the command without structured input.
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.