adb_get_screen_size
Retrieve the screen resolution (width and height) of an Android device. Use it to determine display dimensions for automation or mirroring.
Instructions
Get the screen resolution of the device.
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>"
},
"name": "adb_get_screen_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes |