capture_adb_screen
Captures a single PNG screenshot from a connected Android device via ADB and saves it to a specified local directory, reporting its dimensions for analysis.
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.
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": {
"serial": "<serial>",
"output_directory": "<output_directory>"
},
"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 | |
| analysis_project_id | No | Optional investigation to retain this tool result in. Does not prove target identity or causal relationships. |