prepare_drawing
Draw line, arrow, shape, or text annotations over the last shared page and preview them as a PNG before applying in Xournal++. Pass the read_shared_page capture ID and page-point coordinates.
Instructions
Prepare a drawing over the last shared page and show a PNG preview. Pass the capture ID from read_shared_page. Coordinates are page points from the top left. The user applies the drawing in the Xournal++ plugin.
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": {
"captureId": "<captureId>",
"description": "<description>",
"items": "<items>"
},
"name": "prepare_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| captureId | Yes | ||
| description | Yes |