search_historical_context
Search past AI conversations to recall architectural debates, code examples, and requirements from earlier sessions.
Instructions
Searches historical conversation turns across all local AI clients (Antigravity, Codex, and Claude Code) in sub-3ms using SQLite FTS5.
Call this tool when you need to recall past architectural debates, specific code examples, bash commands, or requirements from earlier sessions.
Args: query: Natural language or keyword search terms (e.g. 'decimal arithmetic', 'wal mode'). limit: Maximum number of matches to return (default: 5). role: Optional filter: 'user' (user requests) or 'assistant' (model outputs). source: Optional client filter: 'antigravity', 'codex', or 'claude_code'.
Returns: str: Formatted list of matches with full provenance citations (Client, Role, Timestamp, Turn ID, and content excerpt).
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_historical_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| limit | No | ||
| query | Yes | ||
| source | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |