unsubscribe
Cancel an event subscription to stop writing that event type to the ring buffer and receive the remaining active subscriptions.
Instructions
取消事件订阅(停止向环形缓冲写入对应类型事件)。响应含剩余全部活跃订阅。
Args: subscription_id: subscribe_events 返回的 subscription_id
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": {
"subscription_id": "<subscription_id>"
},
"name": "unsubscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscription_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |