list_sessions
Find coding agent sessions across Claude Code, Codex, Copilot, Cursor, Gemini, Grok, and OpenCode. Filter by working directory, agent, branch, or text query, with live agents listed first.
Instructions
List Claude Code, Codex, Copilot, Cursor, Gemini, Grok, and OpenCode sessions. Live agents first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory to match (canonical or prefix) | |
| agent | No | claude, codex, copilot, cursor, gemini, grok, or opencode | |
| limit | No | ||
| query | No | ||
| branch | No | Git branch name | |
| live_only | No | ||
| include_archived | No |