List Local Agent Sessions
list_agent_sessionsDiscover local AI coding sessions from Antigravity, Claude Code, and Codex by agent, title, project, or touched file, returning redacted metadata with a configurable session limit.
Instructions
Auto-discover local AI coding sessions across Antigravity (/.gemini/antigravity/brain), Claude Code (/.claude/projects), and Codex (~/.codex/sessions) with redacted metadata.
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_agent_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Filter by agent: all (default), antigravity, claude, codex | |
| limit | No | Maximum sessions to return (default 25) | |
| query | No | Filter by title, session ID, project, or touched file |