set_image_border
Set or remove a border on an embedded image in a Word document. Specify border width in points and optional color.
Instructions
Set or remove a border on an embedded image.
Args: rId: The relationship ID of the image (e.g. 'rId6'). border_pt: Border width in points. Use 0 to remove the border. color: RGB hex color string without '#' (default '000000' = black).
Returns: JSON with rId, border_pt, and color fields.
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>",
"border_pt": "<border_pt>"
},
"name": "set_image_border"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rId | Yes | ||
| color | No | 000000 | |
| border_pt | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |