list_project_sessions
Retrieve saved agent conversation sessions for a project to find and resume a specific thread.
Instructions
List resumable agent conversation sessions for one project.
Queries the project's agent for sessions saved in its own store
scoped to the project's cwd (filesystem scan for claude/codex/droid,
subprocess call for gemini/opencode). Returns at most limit
sessions sorted by most-recently-modified.
Each session dict carries id, optional title, optional bounded
preview, optional created / modified (ISO 8601), and optional
turns. preview is a short best-effort snippet from the session
contents (often the first recognizable user message, or a backend's
own title-like summary) so callers can distinguish threads without
resuming them. Use the returned id with dispatch(session_id=...)
to resume a specific thread as a one-shot — the agent's own
resume-latest mechanism picks the just-used session up for
subsequent default dispatches, so the id rarely needs to be
restated.
pinned echoes the project's currently saved session_id (if any)
so the orchestrator can mark it in UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||