set_posture
Fold or unfold a foldable device using a preset or exact hinge angle, then return the settled posture, angle, and active screen.
Instructions
Fold or unfold a foldable device (form factor foldable in list_device_models — the iPhone Duo, Android foldables such as the Pixel 9 Pro Fold): a preset (closed, partial, open) or an exact hinge angle in degrees (angle 0-180) — pass exactly one. Reports the posture it settled in, the angle, and which screen is lit. Errors on a device without a hinge.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_posture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | Exact hinge angle in whole degrees, 0 (shut) to 180 (flat open). Omit when passing a posture. | |
| posture | No | One of 'closed', 'partial', 'open'. Omit when passing an angle. | |
| session_id | No | Session ID to target. Optional: falls back to the MCP-server-held dev_start session, then this project's `vibeview dev --detach` state, if either is available. |