apply_user_actions
Apply raw Grist UserActions arrays to run schema operations not covered by higher-level tools, including renaming tables or columns and adding columns.
Instructions
Apply raw Grist UserActions for operations not covered by other tools. Actions are arrays like ["AddTable", "Name", [{id: "Col", type: "Text"}]]. Use sparingly — prefer the higher-level tools when possible.
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": {
"actions": "<actions>"
},
"name": "apply_user_actions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | No | Document ID | |
| actions | Yes | UserActions to apply. Examples: ["RenameTable", "OldName", "NewName"], ["RenameColumn", "Table", "OldCol", "NewCol"], ["AddColumn", "Table", "Col", {"type": "Text"}] |