list_sessions
Retrieve saved coding agent sessions from oh-my-pi and Antigravity, newest first, with IDs, titles, workspace paths, timestamps, and sizes. Filter by source, workspace, query, or result limit.
Instructions
List saved coding agent sessions from oh-my-pi (omp) and/or Antigravity (agy), newest first, with session IDs, titles, workspace paths, timestamps, and sizes.
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 |
|---|---|---|---|
| cwd | No | Optional workspace path filter (matches sessions in this directory or subdirectories). | |
| limit | No | Maximum number of sessions to return. | |
| query | No | Optional substring filter matching session ID, title, or workspace path. | |
| source | No | Which tool's sessions to list. | all |