Execute a SQL query on BigQuery and return results. Supports Standard SQL (recommended) and Legacy SQL. Can execute SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, and other SQL statements.
Create a new empty table with defined schema. Define columns with types (STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, etc) and modes (NULLABLE, REQUIRED, REPEATED).
Execute a SQL query on BigQuery and return results. Supports Standard SQL (recommended) and Legacy SQL. Can execute SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, and other SQL statements.Parameters:
Parameter
Type
Required
Default
Description
projectId
string
Yes
—
Project ID where query will run. Use list_all_accessible_projects to find available projects.
query
string
Yes
—
SQL query to execute. Standard SQL example: SELECT * FROM project.dataset.table LIMIT 10
useLegacySql
boolean
No
false
Use Legacy SQL syntax. Default: false (Standard SQL recommended).
maxResults
number
No
—
Maximum rows to return. Must be a positive number. Limits large result sets.
location
string
No
"US"
Geographic location for query (US, EU, asia-northeast1, etc). Must match dataset location. Default: US
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for Google BigQuery connection" }, "projectId": { "type": "string", "description": "Project ID where query will run. Use list_all_accessible_projects to find available projects." }, "query": { "type": "string", "description": "SQL query to execute. Standard SQL example: SELECT * FROM `project.dataset.table` LIMIT 10" }, "useLegacySql": { "type": "boolean", "default": false, "description": "Use Legacy SQL syntax. Default: false (Standard SQL recommended)." }, "maxResults": { "type": "number", "description": "Maximum rows to return. Must be a positive number. Limits large result sets." }, "location": { "type": "string", "default": "US", "description": "Geographic location for query (US, EU, asia-northeast1, etc). Must match dataset location. Default: US" } }, "required": [ "PCID", "projectId", "query" ]}
Create a new empty table with defined schema. Define columns with types (STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, etc) and modes (NULLABLE, REQUIRED, REPEATED).Parameters:
Parameter
Type
Required
Default
Description
projectId
string
Yes
—
Project ID where table will be created
datasetId
string
Yes
—
Dataset ID where table will be created. Dataset must exist.
tableId
string
Yes
—
Table name. Must start with letter or underscore, then letters, numbers, and underscores. Max 1024 chars.
schema
object[]
Yes
—
Array of column definitions. At least one column required.
description
string
No
—
Optional table description
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for Google BigQuery connection" }, "projectId": { "type": "string", "description": "Project ID where table will be created" }, "datasetId": { "type": "string", "description": "Dataset ID where table will be created. Dataset must exist." }, "tableId": { "type": "string", "description": "Table name. Must start with letter or underscore, then letters, numbers, and underscores. Max 1024 chars." }, "schema": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Column name. Must be unique." }, "type": { "type": "string", "description": "Column type: STRING, INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, DATETIME, TIME, BYTES, NUMERIC, BIGNUMERIC, GEOGRAPHY, RECORD" }, "mode": { "type": "string", "description": "NULLABLE (default), REQUIRED, or REPEATED" } } }, "description": "Array of column definitions. At least one column required." }, "description": { "type": "string", "description": "Optional table description" } }, "required": [ "PCID", "projectId", "datasetId", "tableId", "schema" ]}
List recent jobs in a project. Returns job IDs, status, configuration, and timing. Useful for monitoring and debugging.Parameters:
Parameter
Type
Required
Default
Description
projectId
string
Yes
—
Project ID to list jobs from
maxResults
number
No
100
Maximum jobs to return. Must be a positive number. Default: 100
allUsers
boolean
No
false
Show jobs from all users. Default: false (only your jobs). Requires permissions.
Show inputSchema
{ "type": "object", "properties": { "PCID": { "type": "string", "description": "Pink Connect ID for Google BigQuery connection" }, "projectId": { "type": "string", "description": "Project ID to list jobs from" }, "maxResults": { "type": "number", "default": 100, "description": "Maximum jobs to return. Must be a positive number. Default: 100" }, "allUsers": { "type": "boolean", "default": false, "description": "Show jobs from all users. Default: false (only your jobs). Requires permissions." } }, "required": [ "PCID", "projectId" ]}