read_image
Capture a selected rendered page element—image, canvas, SVG, chart, or map—as a PNG and return its file path for inspection.
Instructions
Capture one element — an img, canvas, svg, a chart, a
map — as a PNG file and return its path.
This is how you look at a picture on the page: it captures the pixels
the element renders, so it works for anything drawn, not only img.
Nothing is fetched — no new request leaves the browser. Returns
not_found when selector matches nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "read_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||