> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Table Schema

> Retrieves the schema and structure information of Google BigQuery tables

Retrieves the schema and structure information of Google BigQuery tables

|                      |                             |
| -------------------- | --------------------------- |
| **App**              | BigQuery                    |
| **Operation ID**     | `bigquery_get_table_schema` |
| **Type**             | Action                      |
| **Connection**       | `bigquery` (required)       |
| **Credits per run**  | 1                           |
| **Agent / MCP tool** | Yes                         |

## Inputs

| Field     | Type                 | Required | Default | Description                                                             |
| --------- | -------------------- | -------- | ------- | ----------------------------------------------------------------------- |
| `project` | string or SelectItem | Yes      | -       | Select the Google BigQuery project, ask the user for it if not provided |
| `dataset` | string or SelectItem | Yes      | -       | Select the BigQuery dataset containing your target table                |
| `table`   | string or SelectItem | Yes      | -       | Select the target BigQuery table to get schema from                     |

### SelectItem

| Field   | Type   | Required | Default | Description                                                                                          |
| ------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------- |
| `value` | string | Yes      | -       | The value of the selectable item.                                                                    |
| `label` | string | Yes      | -       | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `List[Dict]`

Returns table schema fields.

**Fields**: `field_name`, `field_type`, `mode`, `description`, `is_nullable`, `is_required`, `is_repeated`
