close_stream
Closes an observation window opened by observe_stream, terminating the remote stream process and releasing channel resources to prevent residual processes. Returns window_id and closed status.
Instructions
关闭由 observe_stream 打开的本地观察窗,确认终止并回收对应的远端观察流进程与通道资源,返回 { window_id, closed: true }。观察完成后应及时调用以防残留流进程;若 window_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": {
"window_id": "<window_id>"
},
"name": "close_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | 由 observe_stream 返回的观察窗 ID |