search_notes
Search all Markdown notes for text and return each match with note, line, and context. Supports regex, case-sensitive search, and result limits.
Instructions
Searches text in all the notes (case-insensitive). Returns the note, line and context of each match, ordered by note and line.
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 number of matches (default 500). | |
| query | Yes | The text to search for, or a regular expression if regex is true. | |
| regex | No | If true, query is a regular expression (RE2). | |
| case_sensitive | No | If true, the search is case-sensitive. |