pdf_draw
Mark up PDFs by drawing rectangles, lines, and ellipses, with adjustable fill, border, and opacity for annotations and diagrams.
Instructions
Draw shapes on PDF pages: rectangles (filled or outlined), lines, and circles/ellipses. Useful for annotations, diagrams, or marking up documents.
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": {
"filePath": "<filePath>",
"outputPath": "<outputPath>",
"shapes": "<shapes>"
},
"name": "pdf_draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shapes | Yes | Shapes to draw | |
| filePath | Yes | PDF file path | |
| outputPath | Yes | Output path |