decrypt
Remove a PDF's password: supply the file path and password to decrypt and save an unlocked version.
Instructions
Decrypt a password-protected PDF (removes 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": {
"file": "<file>",
"password": "<password>"
},
"name": "decrypt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| password | Yes | Password to decrypt the PDF | |
| output_name | No | Output file path (defaults to same dir with suffix) |