add_image
Insert an image onto a LibreOffice slide using its file path, and set its position and size as percentages of the slide.
Instructions
Place an image from an absolute path. x/y/w/h are percent of the slide.
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>",
"slide": "<slide>",
"path": "<path>",
"x": "<x>",
"y": "<y>",
"w": "<w>",
"h": "<h>"
},
"name": "add_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| path | Yes | ||
| slide | Yes | ||
| doc_id | Yes |