zoom_region
Magnify a region of the current screenshot at native resolution to read exact coordinates on canvases or custom views before clicking. The zoomed area becomes the new click coordinate space.
Instructions
Zoom into a rectangle of the CURRENT image (the last screenshot's pixel space) and re-capture it at native resolution — a sharp, legible magnified view. Only that rectangle is captured (not the whole display), so it is also smaller and quicker to take than a full-display shot. Use it to read exact positions on surfaces that expose no marks (canvas/games, custom-rendered views) before clicking, or to stay scoped while working inside one area. Pass x, y, width, height in the current image's pixels (width,height > 0). The returned image becomes the new coordinate space, and clicks afterward map into the zoomed region automatically. marks defaults OFF (read coordinates off the overlaid grid); grid defaults ON. Take a screenshot first so there is an image to zoom into.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Left edge of the rectangle, in the CURRENT image's pixel space (the last screenshot's coordinates). | |
| y | Yes | Top edge of the rectangle, in the current image's pixel space. | |
| grid | No | Overlay a labeled coordinate grid. Defaults ON for a zoom (coordinate mode); pass grid=false to suppress it. | |
| marks | No | Set-of-Mark numbering. Defaults OFF for a zoom — the zoom is the tool for surfaces that expose no marks, so you read coordinates off the grid. Pass marks=true to also number any actionable elements inside the region. | |
| width | Yes | Width of the rectangle in current-image pixels. Must be > 0. | |
| height | Yes | Height of the rectangle in current-image pixels. Must be > 0. |