Search the vault
search_vaultSearch Obsidian notes using keyword or tag modes. Retrieve matches with surrounding context and configurable limits.
Instructions
Full-text search across all notes. Supports two modes: keyword (fast plain-text) and tag (find notes tagged with #X). For structured queries, use query_dataview.
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_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search string. For tag mode, omit the leading '#'. | |
| mode | No | keyword: plain-text. tag: notes containing the inline tag #<query>. | keyword |
| context_length | No | Characters of surrounding context to return per match. | |
| limit | No |