Skip to content

pdf_watermark

Status: ✅ Verified | Format: PDF / OpenXML / Data

CLI

expressiveCode.terminalWindowFallbackTitle
paperpilot watermark --input tests/e2e_fixtures/real/single_page.pdf --output tests/e2e_fixtures/out/penta_e2e_security/watermark_cli_Simple.pdf --text WATERMARK --json

MCP JSON-RPC

{
"name": "pdf_watermark",
"arguments": {
"input": "tests/e2e_fixtures/real/single_page.pdf",
"text": "CONFIDENTIAL",
"output": "tests/e2e_fixtures/out/penta_e2e/watermarked.pdf"
}
}

REST API

expressiveCode.terminalWindowFallbackTitle
curl -s -X POST http://127.0.0.1:7823/api/v1/pdf/watermark -H 'Content-Type: application/json' -d '{"input": "tests/e2e_fixtures/real/single_page.pdf", "text": "CONFIDENTIAL", "output": "tests/e2e_fixtures/out/penta_e2e/watermarked.pdf"}'