Read the colour of one viewport pixel
browser_pick_color_atCapture the viewport and return the pixel color at a given CSS coordinate. Decodes the screenshot in-process, so no eyedropper or human click is needed.
Instructions
Capture the viewport and return the colour at a CSS-pixel coordinate (x from the left, y from the top). Fully deterministic: it decodes the screenshot in-process, so no eyedropper and no human click is needed. Coordinates are CSS pixels; the screenshot is physical pixels, so devicePixelRatio is applied internally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X in CSS pixels from the left edge of the viewport | |
| y | Yes | Y in CSS pixels from the top edge of the viewport | |
| context | No | Tab context id (default: the active tab) |