pdf_encrypt
Encrypt a PDF with AES-256 password protection. Set a user password to restrict opening and an optional owner password to control editing permissions.
Instructions
Encrypt a PDF with AES-256 password protection. Requires a user password to open. Owner password controls editing permissions (defaults to the user password).
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": {
"filePath": "<filePath>",
"outputPath": "<outputPath>",
"userPassword": "<userPassword>"
},
"name": "pdf_encrypt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the source PDF file | |
| outputPath | Yes | Absolute path for the encrypted output PDF | |
| userPassword | Yes | Password required to open the PDF | |
| ownerPassword | No | Password for editing permissions. Defaults to userPassword if omitted. |