search_docs
Search across markdown files in a directory to find specific content by query, returning matching lines with file and line number details.
Instructions
Full-text search across all .md files in a directory. Returns file, line number, and matching line. Limited to 50 results.
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": {
"directory": "<directory>",
"query": "<query>"
},
"name": "search_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Path to the directory to search (e.g. ./docs) | |
| query | Yes | Search string (case-insensitive) |