protect
Encrypt PDF files with AES-256 using a user password, owner password, or permission limits to restrict opening, printing, and copying.
Instructions
Encrypt with AES-256: a password to open and/or restricted permissions.
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": {
"path": "<path>",
"output": "<output>"
},
"name": "protect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| output | Yes | ||
| overwrite | No | ||
| allow_copying | No | ||
| user_password | No | ||
| allow_printing | No | ||
| owner_password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |