Get Orientation
mobile_get_orientationGet the current screen orientation of an iOS or Android device by passing its device identifier, so automation and tests can adapt to portrait or landscape layouts.
Instructions
Get the current screen orientation 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": {
"device": "<device>"
},
"name": "mobile_get_orientation"
}
}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. |