excel_protect_worksheet
Protect Excel worksheets with password security to control editing permissions for cells, columns, and rows in financial workbooks.
Instructions
Protect a worksheet with a password
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": {
"worksheetName": "<worksheetName>",
"password": "<password>"
},
"name": "excel_protect_worksheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worksheetName | Yes | ||
| password | Yes | ||
| allowSelectLockedCells | No | ||
| allowSelectUnlockedCells | No | ||
| allowFormatCells | No | ||
| allowFormatColumns | No | ||
| allowFormatRows | No |