Take Screenshot
mobile_take_screenshotCapture a live screenshot from an identified mobile device to inspect current screen contents and map visible positions back to device coordinates for accurate taps.
Instructions
Take a screenshot of the mobile device. Use this to understand what's on screen, if you need to press an element that is available through view hierarchy then you must list elements on screen instead. The screenshot is usually smaller than the screen, so when the device reports its screen size the result also states how to convert positions in the screenshot into screen coordinates before tapping. Do not cache this result.
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. Defaults to 1024. |