Search notes
search_notesSearch all notes for any text, optionally using regex or restricting to a folder, and get paths, line numbers, and matching lines.
Instructions
Full-text search across all notes. Default is case-insensitive substring matching; set regex=true to treat query as a regular expression. Returns path, line number and the matching line, capped at 50 hits.
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 |
|---|---|---|---|
| query | Yes | Text to search for | |
| regex | No | Treat query as a regular expression | |
| folder | No | Optional subfolder to restrict the search |