history_search
Search archived cross-account history when recent context is insufficient or you specify an older date, source, or topic. Queries indexed Codex sessions from multiple projects and sub-agents.
Instructions
Search older cross-account history. Call only when the user explicitly asks to search past history, names an older date/source/topic, or recent context is insufficient.
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": "history_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| source | No | ||
| project | No | ||
| provider | No | ||
| include_technical | No | Also search tool, developer, system, and event records. Disabled by default. |