subscribe
Start receiving Discord RPC events by providing an event type and optional guild or channel IDs. Enables real-time updates from the Discord client, which can then be read using get_events.
Instructions
Subscribe to an RPC event. Channel events require channel_id; GUILD_STATUS requires guild_id. Read received events with get_events. Subscribe again after a connection gap. Additional Discord scopes may be required.
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": {
"event": "<event>"
},
"name": "subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | Yes | ||
| guild_id | No | ||
| channel_id | No |