Fold Device
mobile_fold_deviceFold or unfold iOS and Android foldable simulators or emulators by setting hinge posture or angle to test app layouts.
Instructions
Fold or unfold a foldable device, such as iPhone Duo simulators and foldable Android emulators. Provide either posture or angle.
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_fold_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | The desired hinge angle in degrees, between 0 (folded) and 180 (open). iOS only, e.g. iPhone Duo. Use instead of posture. | |
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| posture | No | The desired hinge posture: folded (0 degrees), half-open (90 degrees) or open (180 degrees) |