Add Watermark & Page Numbers to PDF
pdf_watermarkStamp PDFs with diagonal text watermarks and optional bottom-right page numbers on all or selected pages, processing files locally without uploads.
Instructions
Stamp a diagonal text watermark (e.g. CONFIDENTIAL, DRAFT) and/or bottom-right page numbers onto all or selected pages of a local PDF completely offline.
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": {
"inputPath": "<inputPath>"
},
"name": "pdf_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Watermark text to stamp diagonally across pages (e.g. "CONFIDENTIAL") | |
| pages | No | Pages to stamp, e.g. "1-3,5" or "all" | all |
| opacity | No | ||
| fontSize | No | ||
| inputPath | Yes | Local PDF file path | |
| outputPath | No | ||
| angleDegrees | No | ||
| addPageNumbers | No | Also stamp page numbers ("1 / N") in the bottom-right footer |