list_sessions
Retrieve a list of all past Claude Code sessions, with optional filtering by project path to focus on specific work.
Instructions
List all sessions, optionally filtered by project
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": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project path filter | |
| limit | No | Max results |