edit-pdf
Add text or images to exact positions in a PDF to annotate, label, or customize documents. Specify coordinates, font, size, and color for text, or insert images with precise placement.
Instructions
Add text or images to specific positions in a PDF document
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>",
"elements": "<elements>"
},
"name": "edit-pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF file path or URL to edit | |
| elements | Yes | Array of text or image elements to add | |
| outputDir | No | Output directory path | |
| outputFilename | No | Custom output filename |