stopSubscription
Close an active WebSocket subscription by its subscription ID to release the connection and buffer. The closed subscription ID cannot be reused.
Instructions
关闭指定订阅,释放 WebSocket 连接和缓冲区。已关闭的订阅 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": {
"subscriptionId": "<subscriptionId>"
},
"name": "stopSubscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subscriptionId | Yes | 由 startSubscription 返回的订阅 ID |