Remove a PDF password
pdf_unlockRemove password protection from a PDF when you know the password, so it opens without prompting. Decrypts and saves an unlocked copy locally; does not recover forgotten passwords.
Instructions
Decrypt a password-protected PDF you know the password for, so it opens without prompting. This does NOT recover, guess, or brute-force a forgotten password. Runs entirely on this machine — the file is read and written locally and never sent anywhere.
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": "<input>",
"output": "<output>",
"password": "<password>"
},
"name": "pdf_unlock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Replace the output file if it already exists | |
| input | Yes | Path to the protected PDF | |
| output | Yes | Path to write the unlocked PDF | |
| password | Yes | The document's current password |