subscribe_events
Subscribe to specified bot event types; matching events enter a buffer for poll_events retrieval, letting AI clients monitor and process runtime events by type or all events.
Instructions
订阅机器人事件流(订阅后匹配事件进入机器人侧环形缓冲,供 poll_events 拉取)。 响应含本次 subscription_id 与当前全部活跃订阅(active_subscriptions)。
Args: types: 事件类型列表(OneBot12 标准类型:"message" / "notice" / "request" / "meta",或 "*" 全部)
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": "subscribe_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |