describe_document
Retrieve a Grist document's complete schema—tables, columns, and column types—formatted as Python class definitions so you can understand and work with its structure.
Instructions
Get the full schema of a Grist document — all tables, columns, and their types — formatted as Python class definitions. This is the best way to understand a document's structure.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "describe_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | Document ID (uses GRIST_DOC_ID env var if not set) |