add_protected_range
Protect a Google Sheets range (A1 notation) with default warning-only access. Optionally set editors, description, or change to strict protection.
Instructions
Protect an A1 range; defaults to warning-only protection.
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": "add_protected_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| editors | No | ||
| description | No | ||
| warning_only | No | ||
| spreadsheet_id | Yes |