Take screenshot
take_screenshotCapture a PNG screenshot of a mobile device screen to inspect current UI state during Android or iOS app testing. Provide the device ID to get an image for visual verification.
Instructions
Capture a PNG screenshot of the current device screen.
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_id": "<device_id>"
},
"name": "take_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) |