search
Perform full-text keyword search across files. Returns ranked results with match excerpts, title highlights, tags, and file size. Read-only, no side effects.
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 |
|---|---|---|---|
| query | Yes | Search query | |
| project_id | No | Filter by project ID. Pass null to search ONLY Knowledge Base files. | |
| tags | No | Filter by tags (all must match) | |
| favorite | No | Filter by favorite status |