take_screenshot
Capture a live screenshot of a device screen to inspect UI or verify results after automation tasks.
Instructions
Capture a live screenshot of the device's current screen. Returns the image directly (synchronous, up to 30s).
Use this tool when:
You need to see what is currently displayed on the device screen.
You want to verify the result after a run_task completes.
You need to inspect the UI before deciding what action to take.
This returns the real-time 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 | The device ID to capture a screenshot from |