Get Orientation
mobile_get_orientationRetrieve the current screen orientation of a connected Android device by providing its identifier. Use this to determine portrait or landscape state for automation.
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. |