insert
Place image or SVG into the open Inkscape document at exact millimetre coordinates, scale by width or height with aspect preserved; SVGs become editable vectors, rasters embed or link.
Instructions
Place a figure file into the document with its top-left at (x_mm, y_mm), scaled to width_mm or height_mm (aspect kept). .svg is inlined as editable vector (ids namespaced so nothing collides); .png/.jpg are embedded (embed=False links the file instead).
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": {
"path": "<path>"
},
"name": "insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| path | Yes | ||
| show | No | ||
| x_mm | No | ||
| y_mm | No | ||
| embed | No | ||
| label | No | ||
| parent | No | ||
| width_mm | No | ||
| height_mm | No | ||
| expected_revision | No |