Set Pdf Password
set_pdf_passwordStores and verifies a password for an encrypted PDF so the file can be opened and processed.
Instructions
Set and verify password for encrypted PDF file
Store password for specific PDF file and immediately verify it works by attempting to open the PDF. This allows processing of encrypted PDFs by providing the correct password.
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": "set_pdf_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes | Password for the encrypted PDF file | |
| file_path | Yes | Absolute or relative path to the PDF file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |