wait_events
Poll for new QQ bot events by returning buffered matches immediately or waiting for gateway/webhook events within a configurable timeout, cancellable when the client aborts.
Instructions
Long-poll for new events (default 30s, max 5min). Returns buffered matches immediately, otherwise waits for a gateway/webhook event. Cancelled when the client aborts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wait_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peek | No | ||
| limit | No | ||
| types | No | ||
| since_seq | No | ||
| timeout_ms | No |