check_query_scan_amount
Estimate the data scanned by a BigQuery SQL query using a dry run to avoid costs and unexpected fees.
Instructions
Check the scan amount of a BigQuery SQL query using dry-run without executing it.
Args:
sql: The SQL query to check
project_id: Optional project ID to use for the query (defaults to first configured project)
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": "check_query_scan_amount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| project_id | No |