execute_dataview_query_tool
Run complex Dataview queries (LIST, TABLE, TASK, CALENDAR) to filter, sort, and group notes by metadata and computed fields in Obsidian.
Instructions
Execute a Dataview Query Language (DQL) query (requires Obsidian + Dataview plugin).
Executes full DQL queries with all Dataview plugin capabilities:
LIST: Simple page lists
TABLE: Tabular data views
TASK: Task queries
CALENDAR: Date-based views
Supports all DQL clauses: FROM, WHERE, SORT, LIMIT, GROUP BY
When to use:
Complex queries beyond filesystem capabilities
Leveraging Dataview's computed fields
Accessing Dataview's metadata indices
Real-time query results
Requires:
Obsidian running
Dataview plugin installed and enabled
Local REST API plugin enabled
Returns: Query results in Dataview's structured format
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | DQL query string (e.g., 'LIST FROM #project WHERE status = "active"') | |
| ctx | No |