pdf_add_watermark
Add text watermarks to PDF pages to mark documents as confidential, draft, or with custom labels. Specify pages, adjust font size, opacity, and rotation angle.
Instructions
Add a text watermark to all or specific pages of a PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the PDF file | |
| output | Yes | Output file path | |
| text | Yes | Watermark text (e.g. 'CONFIDENTIAL', 'DRAFT') | |
| fontSize | No | Font size (default: 50) | |
| opacity | No | Opacity 0-1 (default: 0.3) | |
| angle | No | Rotation angle in degrees (default: -45) | |
| pages | No | Specific pages (1-based). If omitted, applies to all pages. |