session
Manage agent conversations: list active threads, page through message history, close completed threads, and read task or root context.
Instructions
List, page history, close sessions; read a task or root.
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": {
"action": "<action>"
},
"name": "session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mine | No | ||
| limit | No | history. | |
| action | Yes | ||
| cursor | No | history. | |
| root_handle | No | ||
| task_handle | No | ||
| delete_history | No | close: drop it. | |
| session_handle | No | history/close. | |
| workspace_path | No | Repo path; omit for client workspace. |