search_docs
Searches local project documentation by keyword or natural-language question, returning matching sections with file paths, headings, line numbers, and snippets to answer project questions.
Instructions
Search the project's local documentation (Markdown, MDX, reStructuredText, text) by keywords. Returns the best-matching sections with path, heading, line numbers and a snippet. Use before answering questions about how this project works.
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 | Keywords or a natural-language question | |
| top_k | No | Number of results (default 5) | |
| path_glob | No | Only search docs matching this glob, e.g. 'guides/*' |