Search Cross-Agent Dialog History
search_historySearch full-text user and assistant dialog turns across AI coding agents to find prior context by keyword, phrase, or code identifier, excluding tool outputs for high signal.
Instructions
Full-text search across pure user/assistant dialog turns (Chinese, English, and camelCase/snake_case code identifiers) across all discovered AI Coding Agents. Tool outputs are excluded for high signal-to-noise ratio.
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_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of hits to return (default 20). | |
| query | Yes | Keywords, Chinese/English phrase, or code identifier to search for. | |
| roles | No | Optional dialog roles filter. | |
| agents | No | Optional agent_ids to search (e.g. ['codex', 'claude']). Defaults to all. | |
| project_path | No | Optional project directory path to restrict search scope. |