insert_image
Insert an image from a local path into a LibreOffice document, scaling it to a specified width in centimeters while retaining aspect ratio.
Instructions
Insert an image inline from an absolute path, scaled to width_cm (aspect preserved).
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": {
"doc_id": "<doc_id>",
"path": "<path>"
},
"name": "insert_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| doc_id | Yes | ||
| width_cm | No |