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