Watermark a local PDF
abox_pdf_watermarkAdds a text watermark to local unencrypted PDFs, stamping all pages or the first page with centered diagonal, horizontal, or tiled text and writing a verified new PDF.
Instructions
Overlay one line of rasterized text on all pages or the first page of a local unencrypted PDF. Supports centered diagonal or horizontal stamps and tiled repeats. Uses installed browser fonts. Writes a new PDF and verifies stamp placement and page geometry. A watermark does not redact content or prevent editing; signatures become invalid.
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": {
"input_path": "<input_path>",
"output_path": "<output_path>",
"text": "<text>"
},
"name": "abox_pdf_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | medium | |
| text | Yes | One line of watermark text, at most 200 characters. | |
| color | No | grey | |
| tiled | No | ||
| opacity | No | ||
| diagonal | No | ||
| input_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| output_path | Yes | Absolute local filesystem path. URLs and network shares are refused. | |
| first_page_only | No |