get_screen_size
Retrieve an Android device's screen resolution in pixels, with an optional serial, to help calculate tap coordinates and verify display dimensions.
Instructions
Get screen resolution in pixels
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": "get_screen_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (optional; defaults to first ADB_SERIAL entry or the only connected device) |