MCP tools

The MCP tool that moves the hinge of a foldable Simulator such as iPhone Duo: closed, half open, open, or any angle.

simulator_fold moves the hinge of the Team’s running foldable Simulator, such as iPhone Duo. Give either a posture or an angle in degrees, not both: 0 is closed and 180 is open flat. The call returns once the device has the new angle. Switching to the other display can take up to 3 seconds after that, so check simulator_displays before sending coordinates to the screen that is now in use. Repeating a call is harmless. Devices with one display ignore it. The device is shared, so the fold shows for everyone using it.

posture Angle
closed 0°
half 130°
open 180°
Read-only Destructive Idempotent
No No Yes

Inputs

Input Type Required Default What it does
teamId string (UUID) Yes — The Team, from list_teams
simulator string No The Team’s default device Which device, by id from list_simulators
posture string: closed, half, open One of the two — A named position
degrees number, 0 to 180 One of the two — An exact angle

Result

Field What
ok true
degrees The hinge angle set
{ "ok": true, "degrees": 130 }

Errors

Message When What to do
Give exactly one of posture or degrees. Both or neither Send one
posture must be one of closed, half, open. Another posture Use one of these, or degrees
degrees must be a number from 0 to 180. Angle out of range Send 0 to 180

Plus the errors every Simulator tool can return: see start_simulator.

Example

{"name": "simulator_fold", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "simulator": "iphone-duo-example", "posture": "open"}}