GET /device/screenshot
Capture the full device screen, including overlays.
This is a device HTTP route. Set DEVICE_URL to your reachable device URL; connection and examples explain how. Do not append this path to the public MCP URL.
Parameters
No parameters.
Response
PNG bytes; status 503 if capture fails.
Example
sh
curl --fail-with-body "$DEVICE_URL/device/screenshot" --output screen.pngNotes
Independent of an app’s accessibility tree. Positions refer to the original image pixels, not a scaled browser preview.
Check the HTTP status and any JSON error. HTTP workflows and error handling explain shared limits. All endpoints.