doc_search
Search across ingested documents to retrieve the most relevant text chunks within your token budget. Return verbatim excerpts, and narrow results by document ID to quickly locate specific information.
Instructions
Find the chunks of a document most relevant to a query and return them verbatim, packed into a token budget. Prefer this over paging when you know what you are looking for — it is the difference between reading a manual and using its index. Omit doc_id to search across every ingested document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum chunks to return | |
| query | Yes | What you are looking for | |
| doc_id | No | Restrict to one document; omit to search all | |
| budget_tokens | No | Maximum tokens of chunk text to return |