List Agent Sessions
list_sessionsLists indexed AI coding agent sessions so you can filter by project path or agent IDs and sort by activity.
Instructions
List indexed sessions across AI Coding Agents, optionally filtered by project path and agent_ids, sorted by recent activity.
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_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order (default 'updated_desc'). | updated_desc |
| limit | No | Maximum sessions to return (default 30). | |
| agents | No | Optional list of agent_ids to filter. | |
| offset | No | Pagination offset (default 0). | |
| project_path | No | Optional project path to filter sessions. |