search_notes
Find relevant passages in indexed notes using BM25 keyword ranking, returning file paths and line numbers so you can read only matched sections.
Instructions
Search the indexed notes and return the most relevant passages, ranked by BM25. Use this instead of reading whole files when you only need the parts of a knowledge base that match a question.
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_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum passages to return (default 5). | |
| query | Yes | Natural language or keyword query. | |
| path_prefix | No | Optional. Restrict results to paths starting with this prefix. |