dq_run_sql
Confirm a data quality hypothesis by running one read-only SELECT query; any non-SELECT SQL statement is rejected.
Instructions
Run one read-only SELECT to confirm a hypothesis. Any other statement type is rejected.
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": {
"sql": "<sql>"
},
"name": "dq_run_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | A single SELECT (DuckDB dialect). Table names as listed by dq_list_sources. | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||