Skip to content

validate_dql

Check a Dataview DQL query by running it through Dataview and reporting only whether it succeeded. Returns valid; an invalid query also returns error.message. No rows are returned.

Domain automation
Scopes read:dataview
Access read
Tags read-only, plugin-bridge, domain:automation
Profile full only
Annotation Value
Read-only yes
Destructive no
Idempotent no
Accepts an idempotency key no

Idempotent is the advisory MCP idempotentHint. Destructive is also yes for a tool that asks for confirmation only on some calls.

No human confirmation is required to call this tool.

Parameter Type Required Default Description
vault string — Vault id. May be omitted when only one vault is available. length 1–64; pattern ^[a-z0-9_-]+$
dql string yes — length ≥ 1
Field Type Always present Description
valid boolean yes —
error object —
error.message string with parent —
vault string yes —

Other tools in the automation domain: bundle_files, bundle_folder, eval_dataview_field, execute_command, execute_template, generate_uri, list_commands, list_quickadd_actions, list_tasks, list_templates, makemd_list_spaces, makemd_query, remotely_save_status, remotely_save_trigger, show_file_in_obsidian, tasks_filter, trigger_quickadd, update_task.

Back to the tool catalog.