Search notes
search_notesSearch all Markdown notes in an Obsidian vault to find matching text with file paths and line numbers. Filter by folder, case sensitivity, or result limit to locate content quickly.
Instructions
Full-text search across all markdown notes in the vault, from the filesystem for speed. Returns matching lines with file paths and line numbers.
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 |
|---|---|---|---|
| case | No | Case-sensitive matching. Default false. | |
| path | No | Restrict the search to this folder. | |
| limit | No | Maximum number of matches. Default 50. | |
| query | Yes | Text to search for. | |
| context | No | Lines of context to show around each match. Default 0. |