Get Grist Table Structure
grist_get_tablesGet table structure and schema from a Grist document. Select detail level: names (table IDs), columns (add column names), or full_schema (includes types, fields). Provide doc ID to fetch.
Instructions
Get table structure and schema. Detail levels: names (table IDs only ~20 tokens/table), columns (+ column names ~50 tokens/table), or full_schema (+ t
Example: {"docId":"abc123","detail_level":"names"}
Use grist_help({tools:["grist_get_tables"]}) for full schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| tableId | No | ||
| detail_level | No | ||
| response_format | No | ||
| offset | No | ||
| limit | No |