rotate
Set device orientation to portrait or landscape for Android or iOS platforms during mobile automation testing.
Instructions
Rotate the device to a specific orientation
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>",
"platform": "<platform>"
},
"name": "rotate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orientation | Yes | The orientation to set | |
| platform | Yes | Platform of the device |