add_box
Draw a rectangle on an image by specifying its top-left coordinates, width, height, color, fill, and line width to annotate screenshots.
Instructions
Draw a rectangle/box on the image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate of the top-left corner | |
| y | Yes | Y coordinate of the top-left corner | |
| fill | No | Fill color (None for no fill) | |
| color | No | Color of the box (e.g., 'red', '#FF0000') | red |
| width | Yes | Width of the box | |
| height | Yes | Height of the box | |
| image_id | Yes | ID of the image to annotate | |
| line_width | No | Width of the box outline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Status message | |
| image_id | Yes | Image ID that was annotated |