← MCP Catalog

protect_range

Add, update, or remove protection for an exact A1 range. Use `protected=False` to remove protections matching the exact range. `warning_only=True` warns editors instead of blocking edits.

MCPGoogle Sheets AuthorizationPrivate connector
Can change or delete data

Parameters

spreadsheet_idstring · required

sheetstring · required

rangestring · required

protectedboolean · default true

warning_onlyboolean · default false

descriptionstring · default null