excel_protect_cells
Lock or unlock a specified cell range in an Excel worksheet to control editing and protect sensitive data.
Instructions
Lock/unlock cells
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"startCell": "<startCell>",
"endCell": "<endCell>",
"locked": "<locked>"
},
"name": "excel_protect_cells"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | Yes | Lock (true/false) | |
| endCell | Yes | Range end | |
| filename | Yes | Workbook name | |
| startCell | Yes | Range start | |
| worksheet | Yes | Worksheet name |