list_sessions
List Claude Code sessions on this machine, newest first, showing date, project, ID, title, and first prompt. Filter by project substring to locate specific sessions.
Instructions
List Claude Code sessions on this machine, newest first: date, project, id, title and first prompt.
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 | substring filter on the project path |