discord_api
Calls Discord REST API v10 for allowed guilds, channels, and webhooks; use fields to limit list output, reason for audit logs, and dry_run to preview writes.
Instructions
Call Discord REST API v10 within allowed guilds/channels. path must start with /guilds/{id}, /channels/{id}, or /webhooks/{id}. Use fields to shrink lists, reason for X-Audit-Log-Reason, and dry_run=true to preview writes.
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": {
"method": "<method>",
"path": "<path>"
},
"name": "discord_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| query | No | ||
| fields | No | ||
| method | Yes | ||
| reason | No | ||
| dry_run | No | ||
| max_chars | No |