sheets_add_protected_range
Add a protected range in Google Sheets to restrict editing to specific users. Set warning-only mode to allow edits with a warning, or fully lock cells for listed editors.
Instructions
Protect a cell range from editing. warning_only=False restricts editing to editor_emails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_col | Yes | ||
| end_row | Yes | ||
| sheet_id | Yes | ||
| start_col | Yes | ||
| start_row | Yes | ||
| description | No | ||
| warning_only | No | ||
| editor_emails | No | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |