List Sessions
listSessionsList active Claude CLI sessions and their metadata—IDs, models, timing, turn counts, cost—to select the session to resume.
Instructions
List active Claude CLI sessions tracked by this server. Returns session metadata (IDs, models, timing, turn counts, cumulative cost) for orchestration. Use to check available sessions before resuming with sessionId. No cost (local lookup only).
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": "listSessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||