screenshot
Capture the virtual screen or a pixel region as PNG/JPEG and return the image with geometry so other tools can target screen coordinates.
Instructions
Capture the screen. Returns the image plus its geometry; coordinates for other tools are screen pixels.
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 |
|---|---|---|---|
| scale | No | 0.25 to 1 (default 1); the reply states the scale actually used | |
| cursor | No | draw the pointer (default true) | |
| format | No | png (default) or jpeg | |
| region | No | capture only this rectangle, in screen pixels | |
| screen | No | screen name; optional when the session owns exactly one screen | |
| settle_ms | No | wait this long before capturing, for a toast or an animation to settle (default 0) |