screenshot_region
Capture a specified rectangular screen region as a PNG using pixel coordinates to debug UI or verify visual output.
Instructions
Capture a specific rectangular region of the screen as a PNG image. Coordinates are in pixels from the top-left corner of the display.
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": {
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "screenshot_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate of the top-left corner in pixels | |
| y | Yes | Y coordinate of the top-left corner in pixels | |
| width | Yes | Width of the region in pixels | |
| height | Yes | Height of the region in pixels |