dataview_query
Execute Dataview-style queries to filter, sort, and analyze notes from your Obsidian vault based on metadata, tags, and content criteria.
Instructions
Execute a Dataview-style query on notes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from | No | Source filter (folder path or #tag) | |
groupBy | No | Field to group by | |
limit | No | Maximum results | |
select | No | Fields to select | |
sort | No | Sort order | |
vault | Yes | Vault name | |
where | No | Filter conditions |
Input Schema (JSON Schema)
{
"properties": {
"from": {
"description": "Source filter (folder path or #tag)",
"type": "string"
},
"groupBy": {
"description": "Field to group by",
"type": "string"
},
"limit": {
"description": "Maximum results",
"type": "number"
},
"select": {
"description": "Fields to select",
"items": {
"type": "string"
},
"type": "array"
},
"sort": {
"description": "Sort order",
"items": {
"properties": {
"direction": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"field": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"vault": {
"description": "Vault name",
"type": "string"
},
"where": {
"description": "Filter conditions",
"items": {
"properties": {
"field": {
"type": "string"
},
"operator": {
"enum": [
"eq",
"neq",
"gt",
"gte",
"lt",
"lte",
"contains",
"startsWith",
"endsWith",
"exists"
],
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"vault"
],
"type": "object"
}