Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
List Tables
GRIST_LIST_TABLESTool to list all tables within a specified document. Use after obtaining the document ID to retrieve its tables.
List Webhooks
GRIST_LIST_WEBHOOKSList all webhooks configured for a Grist document. Returns webhook configuration details (URL, event types, table binding) and delivery status information. Use this to inspect, audit, or manage webhooks for a document. Requires a valid document ID obtained from GRIST_LIST_WORKSPACES or GRIST_CREATE_DOCUMENT.
List Workspaces
GRIST_LIST_WORKSPACESTool to list all workspaces and documents accessible to the authenticated user on the current site. Use when you need to select a workspace or document for subsequent operations.
Run SQL Query
GRIST_RUN_SQL_QUERYTool to execute a read-only SQL SELECT query on a Grist document. Use after confirming the document ID and preparing a valid SQL SELECT statement.
Update Column Metadata
GRIST_UPDATE_COLUMN_METADATAUpdates metadata (label, type, description, formula, etc.) for one or more columns in a Grist table. Use List Columns first to get valid column IDs. Warning: changing 'label' may rename the column ID unless 'untieColIdFromLabel' is set to true.
Update Document Metadata
GRIST_UPDATE_DOCUMENT_METADATATool to update metadata for a specified Grist document. Use when you need to rename or pin/unpin a document after obtaining its ID.
Update Records
GRIST_UPDATE_RECORDSUpdate existing records in a Grist table by their row IDs. Use this tool to modify field values for one or more records in a specified document and table. First use GRIST_LIST_RECORDS to obtain the record IDs you want to update. Supports batch updates - you can update multiple records in a single call. The API uses PATCH semantics, meaning only specified fields are updated; unspecified fields remain unchanged. IMPORTANT: When updating multiple records in a batch, all records must specify the exact same set of field names (e.g., if updating Name and Age for record 1, you must also update Name and Age for record 2).
Update Table Metadata
GRIST_UPDATE_TABLE_METADATAUpdate metadata for a table in a Grist document, including its table ID for renaming or its on-demand loading setting. The response echoes the requested update.
Update Webhook
GRIST_UPDATE_WEBHOOKUpdate an existing webhook on a Grist document, changing provided settings such as its URL, event types, enabled status, or target table. Omitted settings remain unchanged. An update may take effect even when the tool reports an error.
Upload Attachment
GRIST_UPLOAD_ATTACHMENTUpload one or more file attachments to a Grist document. Returns attachment IDs that can be used to link files to records in Attachments-type columns. First use GRIST_LIST_WORKSPACES to get a valid document ID.