set_document_protection
Protect a Word document by selecting an edit restriction type (tracked changes, comments, read-only, or forms) and applying an 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 |