Protect a range
protect_sheet_rangeLocks columns or rows of a table (or warns before edits), except for the people allowed. Only the sheet's owner can.
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": {
"workspace": "<workspace>",
"sheetId": "<sheetId>",
"tableId": "<tableId>",
"name": "<name>"
},
"name": "protect_sheet_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| name | Yes | ||
| rowIds | No | ||
| sheetId | Yes | Sheet id from search, fetch or create_sheet. | |
| tableId | Yes | ||
| fieldIds | No | ||
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". | |
| description | No | ||
| allowUserIds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protection | Yes |