screenshot
Capture the screen or a specified region to obtain exact pixel coordinates and scaling factors. Use before any coordinate-based action to ensure accurate mouse and keyboard control.
Instructions
Capture the screen (or a region, in points). The response includes bounds_pt and px_per_pt: point = bounds_pt.origin + pixel / px_per_pt. Take a screenshot before any coordinate action.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | ||
| format | No | png | |
| region | No | ||
| max_dim | No |