search_sessions
Find and filter past Antigravity chat sessions, transcripts, and markdown artifacts by keyword, phrase, prefix, project, date, or role to recover earlier decisions and debugging context.
Instructions
Full-text BM25 search across local Google Antigravity chat sessions, transcripts, and markdown artifacts. Supports keywords, "exact phrases", prefix*, and project/date/role filters. Excludes noisy tool outputs by default unless include_tools=true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Restrict search to a specific role. Defaults to 'all' (user + assistant + artifact). | |
| limit | No | Maximum number of search hits to return (default: 10, max: 50). | |
| query | Yes | Search query (supports keywords, "exact phrases", prefix*, and OR). | |
| since | No | ISO date or timestamp lower bound (e.g. '2026-11-01'). | |
| until | No | ISO date or timestamp upper bound. | |
| project | No | Optional project name or workspace path substring filter (e.g. 'fernsearch'). | |
| surface | No | Filter by Antigravity surface: 'app' (desktop/IDE) or 'cli' (agy). | |
| include_tools | No | Include raw tool outputs in 'all' search (default: false). | |
| exclude_session | No | Session ID to exclude from results (e.g. current conversation ID). | |
| include_thinking | No | Include model thinking summaries in 'all' search (default: false). |