run_query
Dry-run and submit a read-only GoogleSQL SELECT in BigQuery with a byte ceiling, then return a job reference to poll for paged results.
Instructions
Dry-run then submit a SELECT job that can incur Google charges. Never raises the configured byte ceiling.
Returns a job reference immediately. Use get_query_results to poll and paginate; do not resubmit to poll. project_id is the billing/job project; fully qualified SQL may read data from other accessible projects.
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": "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 | |||