unlock_pdf
Remove owner password restrictions from a PDF. Provide the locked file as base64 and optionally the password to get an unlocked base64 PDF.
Instructions
Remove permission restrictions (owner password) from a PDF. Returns unlocked base64 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": {
"file_base64": "<file_base64>"
},
"name": "unlock_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_base64 | Yes | Base64-encoded password-protected PDF | |
| password | No | PDF password if known (optional) |