search_docs
Crawl a documentation site and return only the passages that match a query — each with its page URL, line and a relevance score. Token-efficient way to answer a question from docs without packing the whole site.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The absolute http(s) URL to start crawling from. | |
| depth | No | How many link hops to follow (0–3, default 1). | |
| query | Yes | Space-separated search terms; matching is case-insensitive. | |
| max_pages | No | Max pages to fetch (1–30, default 10). | |
| max_matches | No | Max passages to return (1–50, default 5). | |
| context_chars | No | Per-passage character budget (80–4000, default 500). |