search_documents
Search an indexed corpus to find passages matching a query, returning ranked results with source file and snippet. Use this to locate relevant documents before reading full text.
Instructions
Search the indexed corpus for passages relevant to a query and return ranked results with their source file and a snippet. Use this first, then call get_chunk or get_document to read the full text of anything you intend to quote or rely on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language or keyword query. | |
| top_k | No | How many passages to return. Defaults to 5. |