Read or set fold state
mobile_device_foldList or set a foldable device's posture state (OPEN, CLOSED, or numeric) using its ADB serial; non-foldable devices return foldable: false.
Instructions
List cmd device_state postures and, when state is set, switch to a name such as OPEN or CLOSED or a numeric identifier. Non-foldables return foldable false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| serial | Yes | Exact ADB serial from mobile_devices_list; never inferred when multiple devices exist |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| reason | No | ||
| states | No | ||
| foldable | No | ||
| currentId | No | ||
| identifier | No | ||
| currentName | No |