Set Orientation
android_set_orientationLocks an Android device or emulator to portrait or landscape by setting screen orientation and disabling auto-rotate.
Instructions
Set the screen orientation (disables auto-rotate).
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": {
"orientation": "<orientation>"
},
"name": "android_set_orientation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device id (serial or host:port). Optional -- when omitted, uses ANDROID_MCP_DEVICE env or auto-selects the connected device (physical devices preferred over emulators). | |
| orientation | Yes | Desired orientation |