vault_search
Search your Obsidian vault for files containing specific text, returning matches with line numbers and context for efficient information retrieval.
Instructions
Search the vault for files containing a text query. Returns matching files with line numbers and context. Case-insensitive.
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_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search for | |
| path | No | Subdirectory to limit search to (e.g. 'notes') | |
| maxResults | No | Maximum number of matching files to return (default: 20) |