protect_document
Set document protection to limit editing to read-only, comments, tracked changes, or forms, with an optional password.
Instructions
Protect the document with specified restrictions.
Args: protection_type: Type of protection: - 'readOnly': Document is read-only - 'comments': Only comments allowed - 'trackedChanges': Only tracked changes allowed - 'forms': Only form fields can be edited password: Optional password to protect the document
Returns: Success or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | No | ||
| protection_type | No | readOnly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |