set_document_protection
Restrict editing permissions in Word documents by setting protection type to tracked changes, comments, read-only, or forms, with optional password.
Instructions
Set document protection. edit: trackedChanges/comments/readOnly/forms/none.
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": {
"edit": "<edit>"
},
"name": "set_document_protection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edit | Yes | ||
| password | No | ||
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |