get_worksheet_protection
Check a worksheet's protection status and option flags to determine whether edits are restricted before modifying an Excel workbook.
Instructions
Get worksheet protection status and option flags.
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": {
"filepath": "<filepath>",
"sheet_name": "<sheet_name>"
},
"name": "get_worksheet_protection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| sheet_name | Yes |