Protect Pdf
protect_pdfEncrypt PDF files with a password to restrict access. Provide the PDF via URL or base64 and set a password to secure it.
Instructions
Add password protection (encryption) to a PDF.
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": {
"password": "<password>"
},
"name": "protect_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Password to set on the PDF. | |
| source_url | No | Public URL of the PDF. | |
| file_base64 | No | Base64-encoded PDF. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||