Run a Dataview DQL query
query_dataviewQuery your Obsidian vault with Dataview DQL to list, table, or task notes filtered by tags, status, dates, and more.
Instructions
Run a Dataview DQL query (LIST / TABLE / TASK) against the vault. Requires the Dataview plugin installed in the vault. Powerful for structured questions like 'all notes tagged #project where status != done sorted by due date'.
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": {
"dql": "<dql>"
},
"name": "query_dataview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dql | Yes | A Dataview DQL query string, e.g. TABLE status, due FROM #project WHERE status != "done" SORT due ASC |