close
Close a specific session or all server sessions while keeping session history intact. Use it to end work cleanly after agents finish their tasks.
Instructions
Close a session, or all sessions of this server when session is omitted. Session history is kept.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Session id returned by open |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | Yes |