search_docs
Search a project's documents by title and body, returning snippets and paths for get_doc. Scoped to one project; empty results mean no matches.
Instructions
Full-text search a project's documents by title and body. Returns matching documents with a snippet and a path usable directly with get_doc — this is how you find a document when you don't already know its path; list_docs is the map, this is the index. SCOPE IS PER-PROJECT ONLY: results never cross project_id, and this is not a substitute for recall (which searches memory, not documents) or for a cross-project doc search (none exists yet). A query that matches nothing returns an empty items list, not an error. Documents saved before full-text search shipped (2026-08-20) are matched by title only until their next edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 20, server max 50). | |
| query | Yes | Search text. Matched against title and body. | |
| project_id | Yes | Project UUID. Search is scoped to this one project — call it once per project you need to check. |