add_watermark
Add text or image watermarks to PDF documents to protect content and establish ownership. Customize watermark position, opacity, and scale for document security.
Instructions
Add watermarks to PDF documents. Supports both text and image watermarks. Priority: user text > user image > environment variable image > default text "doc-ops-mcp"
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": {
"pdfPath": "<pdfPath>"
},
"name": "add_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdfPath | Yes | PDF file path | |
| watermarkImage | No | Watermark image path (PNG/JPG). Has higher priority than environment variable but lower than watermarkText. | |
| watermarkText | No | Watermark text content. Has highest priority. If not provided, will use image or default text "doc-ops-mcp". | |
| watermarkImageScale | No | Image scale ratio | |
| watermarkImageOpacity | No | Image opacity | |
| watermarkImagePosition | No | fullscreen |