wait_for_event
Waits for a specified Discord gateway event type and returns it when received, with optional user, guild, channel filters and timeout.
Instructions
Wait for any gateway event type (e.g. MESSAGE_REACTION_ADD, RELATIONSHIP_ADD, CALL_CREATE, GUILD_MEMBER_ADD, VOICE_STATE_UPDATE).
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": {
"types": "<types>"
},
"name": "wait_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | ||
| user_id | No | ||
| guild_id | No | ||
| channel_id | No | ||
| timeout_seconds | No |