chat_leave
Leave a chat room and stop waiting for new messages while keeping existing messages and avoiding automatic rejoin. Use it when an agent or client must exit a room without losing received history.
Instructions
离开房间并结束自己的等待;保留消息,不自动重新加入。
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": {
"room": "<room>"
},
"name": "chat_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | Yes | ||
| server | No | 网络房间的 http(s) 服务地址;省略为本机房间 | |
| session_id | No | 当前独立会话的固定 ID;新接入必填并在所有调用中沿用。有原生 thread_id 时须相同,否则本会话生成一次 UUID。省略仅兼容旧接入。 |