dry_run_query
Validate a single SELECT statement and estimate bytes processed without running it, so you can catch query errors and assess cost before execution.
Instructions
Validate a single SELECT and estimate bytes without executing it. Named parameters use @name in SQL.
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": "dry_run_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| account | No | ||
| location | No | ||
| parameters | No | ||
| project_id | No | ||
| maximum_bytes_billed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||