search_docs
Use this to answer a question about the product (auth, versioning, pricing, API surface, runbook catalog) from its own documentation, given a plain-English query. Returns {results}: ranked sections, each with title, section, a text snippet, a score and the real source URL, never fabricated content; empty if nothing matches.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Plain-English question or keywords. | |
| max_results | No | Max results to return. Default 5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Set when nothing matched. | |
| results | Yes | Ranked sections, best first. |