Get Screen Size
mobile_get_screen_sizeRetrieve a mobile device's screen size in pixels to map coordinates and scale UI automation for native iOS and Android apps.
Instructions
Get the screen size of the mobile device in pixels
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": {
"device": "<device>"
},
"name": "mobile_get_screen_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. |