Search documentation
search_docsSearch the docs by keyword with optional framework, version, package, and tag filters. Returns structured ambiguity and metadata warnings.
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 |
|---|---|---|---|
| tags | No | ||
| limit | No | ||
| query | Yes | ||
| cursor | No | Opaque nextCursor from the preceding response page. | |
| locale | No | ||
| explain | No | Include matched terms, scope decisions, ambiguity, and ranking reasons. | |
| package | No | ||
| version | No | ||
| audience | No | ||
| framework | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| total | Yes | Items in the complete filtered result set. | |
| format | Yes | ||
| filters | Yes | ||
| hasMore | Yes | Whether another response page is available. | |
| results | Yes | ||
| audience | Yes | ||
| warnings | Yes | ||
| nextCursor | No | Opaque cursor to pass as cursor on the next request. | |
| resultCount | Yes | Items returned in this response page. | |
| indexGeneration | Yes |