delete_columns
Removes a specified column from a Grist table, letting you clean up unused fields in a document's schema by providing the table and column IDs.
Instructions
Delete a column from a table.
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>",
"col_id": "<col_id>"
},
"name": "delete_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col_id | Yes | Column ID to delete | |
| doc_id | No | Document ID | |
| table_id | Yes | Table containing the column |