get_protection
Retrieve a Word document's protection state: mode, password set, and formatting restrictions. Read-only check shows if editing limitations are active.
Instructions
Current document protection state: mode (none, readOnly, comments, trackedChanges, forms), whether a password is set, and whether formatting restrictions are active. Use set_document_protection to enable and remove_document_protection to disable. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||