set_image_border
Add or remove a border around an embedded image in a Word document by specifying the image's relationship ID, 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rId | Yes | ||
| border_pt | Yes | ||
| color | No | 000000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |