add_picture_docx
Inserts images into Word .docx documents from a file path or base64, with optional width/height, alignment, caption, alt text, or table-cell placement.
Instructions
Menyisipkan gambar (.png/.jpg/dll) ke dokumen Word melalui path file atau string base64 dengan opsi lebar/tinggi (Inches atau Cm), perataan, caption, alt text/title, atau ke dalam sel tabel
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>"
},
"name": "add_picture_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| col | No | ||
| row | No | ||
| title | No | ||
| caption | No | ||
| alt_text | No | ||
| width_cm | No | ||
| alignment | No | ||
| file_path | Yes | ||
| height_cm | No | ||
| image_path | No | ||
| table_index | No | ||
| image_base64 | No | ||
| width_inches | No | ||
| height_inches | No | ||
| paragraph_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |