set-orientation
Change mobile device orientation to PORTRAIT or LANDSCAPE for automated app testing using the MCP Appium Server's standardized protocol.
Instructions
Set the device orientation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
orientation | Yes | Desired orientation: PORTRAIT or LANDSCAPE |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"orientation": {
"description": "Desired orientation: PORTRAIT or LANDSCAPE",
"enum": [
"PORTRAIT",
"LANDSCAPE"
],
"type": "string"
}
},
"required": [
"orientation"
],
"type": "object"
}