search_docs
Search indexed documentation chunks by query, code symbol, or concept with hybrid ranking and optional library/version filters.
Instructions
Search documentation chunks using hybrid FTS5 ranking, symbol awareness, and optional version filtering.
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 |
|---|---|---|---|
| limit | No | Maximum number of results to return (default: 10). | |
| query | Yes | The search query, code symbol, or concept to look for. | |
| format | No | Response format: "markdown" (default, human/agent-readable documentation) or "json" (structured raw machine data). | |
| library | No | Optional library name to narrow search scope. | |
| version | No | Target documentation version (e.g. "v14", "15.0"). |