Remove Sheet Field
sheet.remove_attributeRemove an attribute from a sheet. The server may reject removing the primary Title column (PRIMARY_TITLE_PROTECTED). Removed attributes go to a deleted-attributes pool and can be restored if needed; this is therefore mutating_reversible. The files of a File List field are the exception: they are deleted for good. Removing a File List field that holds files is refused with FILE_LIST_FILES_LOST, naming the field and how many rows hold files, and nothing is removed; tell the user and call again with confirmFileLoss: true only once they accept. In a chat the user accepts on a card instead: the call waits for it. When the agent this app signs in as has Ask first on for this, the call waits for its manager's approval and returns status: "pending_approval"; nothing changes until they approve. Pass reason (and targetNotes per target) so the approver sees why.
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": {
"sheetId": "<sheetId>",
"attributeId": "<attributeId>"
},
"name": "sheet.remove_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why you are doing this, in one sentence the approver reads if Ask first holds the call | |
| sheetId | Yes | ||
| attributeId | Yes | ||
| targetNotes | No | A short note per target, keyed by the id or Index you pass | |
| confirmFileLoss | No | Remove a File List field whose files are deleted for good. Only once the user accepts it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | The change was applied | |
| name | No | Its name | |
| status | No | The call waits for a person's approval; nothing has changed | |
| message | No | ||
| approver | No | Who decides it | |
| approvalId | No | The approval the call waits on | |
| attributeId | No | The removed field |