discord_api
Call any Discord REST v10 endpoint directly when no dedicated tool exists. Pass method, path and optional JSON body or file paths to handle unsupported operations.
Instructions
Call any Discord REST v10 endpoint directly, for whatever has no dedicated tool. path like "/guilds/{id}/onboarding" (no base URL). body = JSON; files = local paths (multipart, payload_json = body). GET works on read-only profiles; other methods need write access. Docs: https://discord.com/developers/docs
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 |
|---|---|---|---|
| bot | No | ||
| body | No | ||
| path | Yes | ||
| files | No | ||
| method | Yes | ||
| params | No | ||
| reason | No |