search_threads
Search your AI coding-agent conversation history across multiple tools. Retrieve past decisions and solutions using keyword or hybrid semantic search.
Instructions
Search the user's indexed AI coding-agent conversation threads across every tool they use (Claude Code, Codex, Cursor, Gemini, Qwen, Goose, OpenCode, Continue, Cline, Roo Code, Kilo Code, and in-app chats). Keyword full-text by default; set hybrid=true to also use on-device semantic similarity. Returns matching threads with snippets and a threadId to fetch. Use this to recall past decisions, prior solutions, or earlier discussion before redoing work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (default 20). | |
| query | Yes | The search query. | |
| hybrid | No | Fuse keyword + on-device semantic search (higher recall; loads the embedding model). | |
| sources | No | Optional source filter: any of claude_code, codex, cursor, gemini, qwen, goose, opencode, continue, cline, roo, kilo, in_app. Empty = all sources. | |
| include_subagents | No | Include Claude Code subagent transcripts (hidden by default). |