appium_get_window_size
Retrieves the device screen width and height in pixels to calculate accurate coordinates for taps, swipes, and scrolls.
Instructions
Get the width and height of the device screen in pixels. Useful for calculating coordinates for swipes, taps, and scrolls.
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": "appium_get_window_size"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session ID; defaults to the active session. |