revoke_slash_command
Disable a slash command so it no longer runs while preserving its record; its name can then be registered again. Find the command ID with list_slash_commands.
Instructions
Revoke a slash command so it no longer runs: the command is disabled and stamped with revoked_at, its row is kept, and its name can be registered again. Returns the revoked command. An unknown or already revoked command is NotFound. Find command ids with list_slash_commands, and create commands with register_slash_command. Requires workspace:write.
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>",
"command_id": "<command_id>"
},
"name": "revoke_slash_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command_id | Yes | UUID of the slash command to revoke, from list_slash_commands or the register_slash_command result. | |
| workspace_id | Yes | UUID of your own workspace (whoami returns it). A different workspace is refused. |