insert_image_after_paragraph
Insert an image after a specific paragraph in a Word document. Specify paragraph index, image path, dimensions, and alignment.
Instructions
在指定段落之后插入图片。
Args: file_path: 文档路径 after_index: 在此段落索引之后插入 (0-based) image_path: 图片文件路径 width_inches: 图片宽度 (英寸) height_inches: 图片高度 (英寸) 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": {
"file_path": "<file_path>",
"after_index": "<after_index>",
"image_path": "<image_path>"
},
"name": "insert_image_after_paragraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alignment | No | CENTER | |
| file_path | Yes | ||
| image_path | Yes | ||
| after_index | Yes | ||
| width_inches | No | ||
| height_inches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |