list_slash_commands
Lists a workspace's non-revoked slash commands with handler details and enabled status, helping you inspect registered commands before adding or revoking them.
Instructions
List the workspace's registered slash commands that have not been revoked, ordered by name. Each has id, name, description, handler_kind (http, mcp_tool or wasi), handler_target and enabled; signing secrets are never returned. Add one with register_slash_command and remove one with revoke_slash_command. Requires workspace:read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>"
},
"name": "list_slash_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | UUID of the workspace whose slash commands to list. It must be the caller's own workspace. |