set_image_size
Resize an embedded image in a Word document by updating its EMU extent attributes with new width and height in centimetres using the image's relationship ID.
Instructions
Resize an embedded image by updating its EMU extent attributes.
Args: rId: The relationship ID of the image to resize. width_cm: New width in centimetres. height_cm: New height in centimetres.
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": {
"rId": "<rId>",
"width_cm": "<width_cm>",
"height_cm": "<height_cm>"
},
"name": "set_image_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rId | Yes | ||
| width_cm | Yes | ||
| height_cm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |