pdf_add_annotation
Add annotations to any PDF page by defining the annotation type, coordinates, size, and text content.
Instructions
Add an annotation to a PDF.
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>",
"annotation_type": "<annotation_type>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"content": "<content>"
},
"name": "pdf_add_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| content | Yes | ||
| pdf_path | Yes | ||
| page_number | Yes | ||
| annotation_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |