pdf_add_text
Add custom text to specific positions on PDF pages. Insert annotations, labels, or comments at precise coordinates to modify PDF documents with targeted text placement.
Instructions
Add text to a PDF at a specified position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_path | Yes | ||
| page_number | Yes | ||
| text | Yes | ||
| x | Yes | ||
| y | Yes | ||
| font_size | No | ||
| color | No |
Input Schema (JSON Schema)
{
"properties": {
"color": {
"default": null,
"items": {
"type": "number"
},
"title": "Color",
"type": "array"
},
"font_size": {
"default": 12,
"title": "Font Size",
"type": "integer"
},
"page_number": {
"title": "Page Number",
"type": "integer"
},
"pdf_path": {
"title": "Pdf Path",
"type": "string"
},
"text": {
"title": "Text",
"type": "string"
},
"x": {
"title": "X",
"type": "number"
},
"y": {
"title": "Y",
"type": "number"
}
},
"required": [
"pdf_path",
"page_number",
"text",
"x",
"y"
],
"type": "object"
}