Take a screenshot
screenshotCapture a full-resolution PNG of an Android or iOS device screen and return its path with size, scale, and safe area for UI inspection or visual review.
Instructions
Save a full-resolution PNG of the screen and return its path with size, scale and safe area. Use ui_tree to read the screen; inline only to look at the 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 |
|---|---|---|---|
| out | No | Absolute PNG path, ending in .png. Default: a new temp file. | |
| device | No | Id or name. | |
| inline | No | Also return the image. Take coordinates from ui_tree, not from the image. |