execute_query
Execute BigQuery SQL queries with built-in safety checks and automatic LIMIT clause enforcement to control costs.
Instructions
Execute BigQuery SQL with automatic safety checks and LIMIT clause management.
Args:
sql: The SQL query to execute
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": "execute_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| project_id | No |