delegate_sessions
Manage multi-turn agent sessions by listing active sessions, switching between them, or clearing session state across supported backends.
Instructions
List, inspect, or switch multi-turn agent sessions. Shows which sessions are currently [ACTIVE] across backends.
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": "delegate_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Target agent backend. | |
| action | Yes | Action to perform: - "list": List all active sessions with [ACTIVE] markers. - "switch": Switch the active session for an agent. - "clear": Reset active session(s). | |
| session_id | No | Target session ID or alias (required for "switch"). |