search_vault
Find any text or pattern across all vault notes. Enter plain text or regex, optionally filter by folder, and get matching files with line numbers and context.
Instructions
Full-text search across all notes in the vault. Supports plain text and regex patterns. Returns matching files with line numbers and context. Can filter by folder.
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 query. Plain text by default; set regex=true for regular expressions. | |
| regex | No | Treat the query as a regular expression. | |
| folder | No | Limit search to a specific folder (relative to vault root). | |
| maxResults | No | Maximum number of matching files to return. Default: 20. | |
| caseSensitive | No | Whether the search is case-sensitive. Default: false. |