search_notes
Find specific text across all notes in an Obsidian vault. Enter a query to get matching file names, line numbers, and snippets, with options to limit results or make the search case-sensitive.
Instructions
Searches text across all notes in the vault, returning file, line, and snippet for each match.
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 | |
| maxResults | No | Maximum number of matches to return (default: 100) | |
| caseSensitive | No | Whether the search is case-sensitive (default: false) |