screenshot
Capture screen content as inline JPEG with absolute coordinate mapping for UI grounding. Save a full-resolution PNG to disk instead when debugging OCR without incurring token costs.
Instructions
Screenshot to inline JPEG + coordinate mapping (coords are absolute).
Pass path to save full-res PNG to disk instead (no token cost) — for debugging OCR without an inline image.
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 |
|---|---|---|---|
| path | No | ||
| region | No | ||
| window | No | ||
| monitor | No | ||
| quality | No | ||
| max_width | No | ||
| include_cursor | No |