get_table_fields
Retrieve all fields/columns metadata from a Metabase table using its ID, with an option to limit the number of fields returned for efficient data exploration.
Instructions
Get all fields/columns in a specific table.
Args: table_id: The ID of the table. limit: Maximum number of fields to return (default: 20).
Returns: Dictionary with field metadata, truncated if necessary.
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": {
"table_id": "<table_id>"
},
"name": "get_table_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_id | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||