search
Find markdown notes in the vault by keyword, exact phrase, or regex. Filter by tag or note type to narrow results.
Instructions
Search the vault's markdown files.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter to notes carrying this frontmatter tag. | |
| type | No | Filter by note type — the frontmatter `type` field, else the top-level directory (e.g. notes, decisions, journal, people, wiki). | |
| limit | No | Maximum number of notes to return. | |
| match | No | "ranked" (default) — BM25 relevance over title + body; best for topical recall ("what do I know about X"). Terms are stemmed and OR'd; there is no phrase or boolean syntax. "exact" — literal substring line-match via ripgrep, with line numbers; use for identifiers and exact phrases. "regex" — ripgrep regular expression. | ranked |
| query | Yes | What to find. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |