unlock_pdf
Remove password protection from a PDF file by providing the correct password, then save the unprotected PDF to disk.
Instructions
Remove password protection from a PDF. Requires the correct password. Produces an unprotected .pdf file on disk.
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": {
"input_file": "<input_file>",
"password": "<password>"
},
"name": "unlock_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | The password to unlock the PDF. Handled as a secret and sent only to iLoveAPI. | |
| input_file | Yes | Path to the password-protected PDF file. | |
| output_path | No | Optional output path. If it ends with the expected extension, the file is written there. If it is a directory, the file is placed inside with a timestamped name. Defaults to the same directory as the first input. |