query_notes_tool
Filter notes by tags, status, frontmatter, or inline fields to retrieve matching notes with path, title, and metadata. Supports sorting and limits for targeted queries.
Instructions
Dataview-like query: filter notes by tags, status, frontmatter, or inline fields. tags: all must match (AND). sort_by: 'path'|'title'|'created'|'mtime'. inline_field_filter: match Dataview inline fields (key:: value syntax). data.items: [{path, title, tags, status, created, mtime, frontmatter, inline_fields}].
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_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| limit | No | ||
| vault | No | ||
| folder | No | ||
| status | No | ||
| sort_by | No | path | |
| sort_desc | No | ||
| frontmatter_filter | No | ||
| inline_field_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||