insert_image
Insert an image after a specified paragraph in a Word document. Set size in centimeters or EMU, and choose left, center, or right alignment.
Instructions
Insert an image after a paragraph. Size in cm (preferred) or EMU; cm overrides EMU.
align sets the image paragraph alignment (left/center/right).
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": {
"para_id": "<para_id>",
"image_path": "<image_path>"
},
"name": "insert_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| align | No | left | |
| para_id | Yes | ||
| width_cm | No | ||
| height_cm | No | ||
| width_emu | No | ||
| height_emu | No | ||
| image_path | Yes | ||
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |