search
Find relevant files via full-text keyword query. Get ranked matches with highlighted excerpts, tags, and size info—snippets included, no follow-up reads required.
Instructions
Full-text (SQLite FTS5) keyword search across files. Returns ranked matches with inline match_excerpt and title_highlight (no follow-up read_file needed for snippets) plus tags, est_tokens, size_bytes, and aggregate total_est_tokens. Read-only; no side effects, auth, or rate limits. FTS is tokenised: it WILL miss URLs, hyphenated terms, and partial substrings — fall back to regex_search for those. project_id: null searches only the KB; omit the field to span everything; tags[] requires ALL listed tags to match. For prompt-ready bundled bodies use bundle_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Filter by tags (all must match) | |
| query | Yes | Search query | |
| favorite | No | Filter by favorite status | |
| project_id | No | Filter by project ID. Pass null to search ONLY Knowledge Base files. |