Take Screenshot
mobile_take_screenshotCapture a mobile device screenshot and obtain a short-lived snapshot ID for tapping screen coordinates. Use the ID to click on points read from the image.
Instructions
Take a screenshot of the mobile device and create a short-lived, frame-validated snapshot. Use the returned snapshotId with mobile_click_on_screen_at_coordinates and coordinateSpace=screenshot when tapping a point read from this image. Do not cache this result beyond the snapshot lifetime.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device": "<device>"
},
"name": "mobile_take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor (0.0-1.0). Ignored if maxSize is provided. | |
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| maxSize | No | Maximum width/height in pixels, keeping aspect ratio (up to 16384). Defaults to 1024. |