apply_pdf_security
Update PDF metadata and optionally encrypt documents with AES-256 while restricting printing or copying to control access.
Instructions
Actualiza metadatos y opcionalmente cifra el PDF con AES-256 y restricciones de impresión/copia. Acepta filePath absoluto permitido o relativo al workspace/output, y un outputDir opcional con las mismas reglas que generate_pdf. El cifrado requiere qpdf instalado.
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": {
"filePath": "<filePath>"
},
"name": "apply_pdf_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | ||
| metadata | No | ||
| outputDir | No | ||
| overwrite | No | ||
| permissions | No | ||
| userPassword | No | ||
| ownerPassword | No | ||
| outputFilename | No |