Capture Adb Screen
capture_adb_screenCaptures a single ADB device screen frame as a PNG in a chosen local directory, then reports its dimensions and digest for verification.
Instructions
Capture one frame of the device screen as a PNG (screencap -p through exec-out, no device-side file) into a caller-selected output directory, digesting it and reporting its dimensions. No recording or interaction.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serial": "emulator-5554",
"output_directory": "/tmp/rea-captures"
},
"name": "capture_adb_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| output_directory | Yes | Local directory for the captured PNG; must not already contain it |