Describe a BigQuery table
bq_table_describeInspect a BigQuery table or view to see its columns, types, modes, descriptions, row count, and defining SQL before writing queries or adding it as a data source.
Instructions
Shows a table or view: full name, kind, description, row count (plain tables only) and its fields with type, mode (when not NULLABLE) and description, RECORD sub-fields indented. For a view or materialized view, the SQL that defines it is shown at the end. Use it to learn column names and types before writing a query or adding the table as a data source.
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": {
"dataset_id": "<dataset_id>",
"table_id": "<table_id>"
},
"name": "bq_table_describe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_id | Yes | Table or view name as BigQuery shows it; spaces and dashes are fine, e.g. "4 Demo". | |
| dataset_id | Yes | Dataset id (letters, digits and underscores), e.g. "analytics_123456". | |
| project_id | No | Google Cloud project id, e.g. "my-project". Defaults to billing_project in the config, then the project of the Application Default Credentials. |