label_regions
Label multiple image regions at once by providing a JSON mapping of names to positions. Define named areas like Header, Sidebar, and Footer to annotate screenshots quickly.
Instructions
Quickly label multiple regions of an image.
Pass a JSON object mapping region names to positions.
Example: { "Navigation": "top-left", "Search Bar": "top-center", "User Menu": "top-right", "Sidebar": "center-left", "Main Content": "center", "Footer": "bottom-center" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Color for all labels | red |
| style | No | Style of labels | callout |
| regions | Yes | JSON object mapping region names to positions. Example: {"Header": "top-center", "Sidebar": "center-left", "Main Content": "center", "Footer": "bottom-center"} | |
| image_id | Yes | ID of the image to label |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Status message | |
| image_id | Yes | Image ID that was annotated |