watermark
Overlay custom text on every PDF page to label documents as draft, confidential, or branded.
Instructions
Add a text watermark overlay to all pages of a PDF.
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": "<file>",
"text": "<text>"
},
"name": "watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| text | Yes | Watermark text, e.g. "DRAFT" or "CONFIDENTIAL" | |
| opacity | No | Opacity 0-1 (default 0.3) | |
| rotation | No | Rotation angle in degrees (default 45) | |
| output_name | No | Output file path (defaults to same dir with suffix) |