create_protected_range
Protect specific spreadsheet ranges from unauthorized editing while allowing designated users to modify content. Set permissions to control who can edit protected cells.
Instructions
Protect a range from editing
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": {
"spreadsheet_id": "<spreadsheet_id>",
"range": "<range>"
},
"name": "create_protected_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | The ID of the spreadsheet | |
| range | Yes | A1 notation range to protect | |
| description | No | Optional description | |
| editors | No | Users/domains that can edit despite protection |