dry_run_query
Validate a BigQuery SQL query and estimate the bytes it will process before running it, so you can catch errors and control query cost.
Instructions
Perform a dry run of a BigQuery query to check if it's valid and estimate its size
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": {
"query": "<query>"
},
"name": "dry_run_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The SQL query to dry run | |
| projectId | No | Google Cloud project ID (optional, uses default if not provided) |