Grep Vault
vault_grepSearch Obsidian vault notes with full-text, case-insensitive grep queries. Restrict results by subdirectory and cap result counts to find exact text matches quickly.
Instructions
Full-text grep search across vault notes. Uses ripgrep if available, falls back to pure Node.js search. Case-insensitive. Use vault_search for semantic/keyword search instead.
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": "vault_grep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query (plain text, matched case-insensitively) | |
| max_results | No | Maximum number of results to return | |
| path_filter | No | Restrict search to a subdirectory (e.g. '60-daily' or '20-context/entities') |