Screenshot
screenshotCapture an app window or full display as an image to verify outcomes or inspect canvas and video, returning screen origin and pixels-per-point for mapping image pixels to click coordinates.
Instructions
Capture an app's largest window, or a whole display, as an image. The result text states the capture's screen origin and pixels-per-point so an image pixel can be converted into click or hover coordinates. Prefer get_app_state for interaction, which is cheaper and returns clickable element ids; for a Chrome tab the agent works in, use browser_screenshot instead, which sees the tab without bringing it to front. Use screenshot to verify an outcome or to see content the accessibility tree cannot describe (canvas, video, custom drawing), and zoom to read small text. Read-only; the captured window is not raised or focused.
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 |
|---|---|---|---|
| app | No | App name, bundle id, or pid exactly as reported by list_apps. Captures that app's largest window. Provide either app or display, or "frontmost" for the app the user is looking at | |
| format | No | Image encoding (default png). Use jpeg for live remote viewing. | |
| display | No | 0-based display index from list_displays. Captures the whole display instead of an app window. | |
| quality | No | JPEG quality from 1 to 100 (default 55). Ignored for png. Raise it when small text must stay sharp. | |
| max_width | No | Downscale the image to this width in pixels (default 1400). Lower it to save tokens. |