list_sessions
List recent Claude Code sessions with optional project filtering and result limit.
Instructions
List recent Claude Code sessions that Longhand has indexed.
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 |
|---|---|---|---|
| limit | No | Max results (default 20) | |
| project | No | Filter by project path substring |