precise_annotate
Place boxes, circles, text, arrows, or lines at exact pixel coordinates on screenshots for pixel-perfect annotations without auto-adjustment.
Instructions
Pixel-perfect annotation tool. Places annotations at EXACT pixel coordinates. No anchor adjustments, no auto-positioning - pure pixel placement.
Coordinates:
x, y: Top-left corner for box, center for circle, start for text
x2, y2: End point for arrows/lines
Examples:
precise_annotate(img, "box", x=100, y=200, width=150, height=50)
precise_annotate(img, "text", x=100, y=180, text="Label")
precise_annotate(img, "arrow", x=50, y=100, x2=200, y2=100)
precise_annotate(img, "circle", x=300, y=300, radius=40)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in pixels (from left edge) | |
| y | Yes | Y coordinate in pixels (from top edge) | |
| x2 | No | End X coordinate (for arrow/line) | |
| y2 | No | End Y coordinate (for arrow/line) | |
| text | No | Text content (for text type) | |
| color | No | Color (name or hex) | red |
| width | No | Width in pixels (for box) | |
| height | No | Height in pixels (for box) | |
| radius | No | Radius in pixels (for circle) | |
| image_id | Yes | ID of the image to annotate | |
| font_size | No | Font size for text | |
| line_width | No | Line/border width | |
| annotation_type | Yes | Type of annotation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Status message | |
| image_id | Yes | Image ID that was annotated |