Remove a PDF password
remove_pdf_passwordRemove PDF password protection to enable OCR in Paperless-ngx. Specify document IDs and the password; optionally replace originals or update metadata.
Instructions
Decrypt password-protected PDFs so Paperless can OCR them. The password is sent to your Paperless instance over its API; only use it against an instance you control.
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": {
"documents": "<documents>",
"password": "<password>"
},
"name": "remove_pdf_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | ||
| documents | Yes | IDs of the documents to act on. Always an explicit list — never an unbounded selection. | |
| delete_original | No | ||
| update_document | No | ||
| include_metadata | No |