command_set
Register, edit, delete, or replace Discord slash commands globally or per server, including bulk overwriting the entire command set.
Instructions
Register (definition), edit (command_id + definition), delete (command_id + delete=True) or replace the whole set (overwrite_all=[...]) of slash commands, globally or per server. Note: answering a command needs code that runs when it is used (this server only auto-acknowledges buttons with custom_id 'mcp:').
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "command_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| guild | No | ||
| delete | No | ||
| global_ | No | ||
| command_id | No | ||
| definition | No | ||
| overwrite_all | No |