list_gemini_sessions
Lists Gemini CLI chat sessions from local storage with session ID, title, project directory, model, and updated time. Filter by query or working directory to find relevant transcripts.
Instructions
List Gemini CLI sessions from ~/.gemini/tmp/*/chats with session_id, title, resolved project working directory, model, and updated timestamp.
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_gemini_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum sessions to return (default 25). | |
| query | No | Optional substring filter on title, cwd, model, or ID. | |
| cwd_filter | No | Optional substring filter on working directory. |