Add a text watermark to a PDF
pdf_watermarkAdd a text watermark to a PDF. Writes a sentence (CONFIDENTIAL, DRAFT, a name) on chosen pages as real text: middle, tiled, top or bottom; size relative to each page, angle as seen (right on rotated and mixed-size pages), strength, colour. Same code as the watermark page. Use when: An agent must mark copies of a PDF before sending them. Not for: Picture/logo watermarks; PDFs that need a password to open. File types: pdf. Max 30 MB.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pdf_watermark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Tool options, if any (see the tool description). | |
| file_url | No | Public https URL of the file (preferred). | |
| filename | No | File name with its extension, e.g. part.step. | |
| file_base64 | No | The file as base64, for small files without a URL (give filename too). |