query_notes
Find notes by tag, folder, or frontmatter query language to filter vault content by properties such as status, due date, owner, and nested tags.
Instructions
Find notes by tag and/or frontmatter properties.
tag="project" matches notes tagged #project (frontmatter or inline) and nested tags such as
project/alpha. where is a small query language over the frontmatter: status=draft,
due < 2026-12-01, tags contains project, owner exists, owner missing, joined with AND /
OR (AND binds tighter), with an optional NOT in front of a clause. Example:
status=draft AND tags contains project. Quote values with spaces. Comparison ignores case;
on a list, = and contains mean "any element". Notes whose frontmatter fails to parse are
skipped (vault_overview lists them).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "query_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| limit | No | ||
| where | No | ||
| folder | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |