Take Screenshot
mobile_take_screenshotCaptures a mobile device screenshot to inspect the current screen and convert screenshot positions into screen coordinates before tapping. Do not cache the result.
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.
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 |
|---|---|---|---|
| clip | No | Only capture this region of the screen, in screen coordinates (the ones used for tapping). Applied before maxSize/scale. Use it to look at one part of the screen in more detail or at a lower cost. | |
| 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. |