create_guild_application_command
Creates a guild-specific Discord application command for an app, using the application and guild IDs to register slash commands in that server.
Instructions
Create Guild Application Command. [POST /applications/{application_id}/guilds/{guild_id}/commands]
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": {
"application_id": "<application_id>",
"guild_id": "<guild_id>",
"name": "<name>",
"description": "<description>"
},
"name": "create_guild_application_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name | |
| nsfw | No | Age-restricted | |
| type | No | Type | |
| options | No | ||
| guild_id | Yes | Server (guild) ID | |
| description | Yes | Description | |
| application_id | Yes | Application (app/bot) ID | |
| name_localizations | No | ||
| description_localizations | No | ||
| default_member_permissions | No |