protect_pdf
Encrypt a PDF with a password (AES). The result requires the password to open. Returns base64.
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": {
"pdf": "<pdf>",
"password": "<password>"
},
"name": "protect_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The PDF as a base64 string or https URL. | ||
| password | Yes | Password required to open the output PDF. |