unlock_pdf
Remove password protection from a local PDF by providing the file path and current open password. Optionally set the output directory and file name.
Instructions
Remove password protection from a local PDF using the PDF4me Unlock API. Provide the file path and the current open password. Optionally specify output directory and file name.
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_path": "<file_path>",
"password": "<password>"
},
"name": "unlock_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Current open password for the PDF (required). | |
| file_path | Yes | Local path to the protected PDF file. | |
| output_dir | No | ||
| output_file_name | No |