adb_screenshot
Captures an Android device screen as an image for inspection, optionally scaling large screens or returning the original size via max_size.
Instructions
Capture the screen and return it as an image you can look at. Large screens are scaled down on the way (ffmpeg, when it is installed) so you get the picture sooner; pass max_size to change that, or 0 for the untouched original.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "adb_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | serial, ip[:port] or saved alias; omit to use the default device | |
| max_size | No | longest side in pixels, default 1280; 0 sends the full-size PNG |