Screenshot Region
screenshot_regionCaptures a JPEG image of a specified rectangular area on a browser tab, enabling isolated captcha tiles or crops for visual model inspection.
Instructions
JPEG of a (x,y,w,h) region. For captcha tiles, isolated VLM crops. Rect from inspect_element.
Ex: screenshot_region('t0', 100, 200, 300, 100) → {"b64":"...","fmt":"jpeg","rect":{x,y,w,h}}
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": {
"tab_id": "<tab_id>",
"x": "<x>",
"y": "<y>",
"w": "<w>",
"h": "<h>"
},
"name": "screenshot_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| tab_id | Yes | ||
| quality | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||