pdf_add_text
Add text to a specific PDF page at precise X/Y coordinates. Provide the PDF path, page number, text, and position to insert labels, notes, or annotations.
Instructions
Add text to a PDF at a specified position.
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": {
"pdf_path": "<pdf_path>",
"page_number": "<page_number>",
"text": "<text>",
"x": "<x>",
"y": "<y>"
},
"name": "pdf_add_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| text | Yes | ||
| color | No | ||
| pdf_path | Yes | ||
| font_size | No | ||
| page_number | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |