goodnotes_place_image
Inserts a PNG or JPEG into a GoodNotes page at an exact position and width, or relative to an existing item, to place and replace images precisely.
Instructions
Insert a PNG/JPEG at an exact position and width in one step. Modes: "at" = top-left at page point (left_pt, top_pt) of page; "below" / "right_of" / "left_of" the item at screen point (x,y); "replace" the item at (x,y) (deletes it, keeps its top-left). Screen positions are CSS pixels in the latest screenshot (y < 50 is the toolbar). Page positions are page points from the top-left of the page; pages are numbered from 1.
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": {
"file": "<file>",
"mode": "<mode>"
},
"name": "goodnotes_place_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | screen x (CSS px) | |
| y | No | screen y (CSS px) | |
| file | Yes | path to a .png or .jpg on this machine | |
| mode | Yes | ||
| page | No | for mode "at" (default: current page) | |
| align | No | below/right_of/left_of: align edges (start) or centres (center) | |
| gap_pt | No | gap to the reference item in page points (default 20) | |
| top_pt | No | ||
| left_pt | No | ||
| width_pt | No | width in page points (default: the reference item's width; required for "at") | |
| expected_id | No | id of the reference item, to make sure the right one is used |