# simulator_rotate

> The MCP tool that turns the Team's Simulator to portrait, landscape or upside down.

Source: https://air.build/docs/mcp-tools/simulator_rotate/

`simulator_rotate` turns the Team's running Simulator to one orientation. The orientation is absolute, not a turn from where it is, so repeating a call is harmless. A screen that does not rotate, such as an iPhone's Home Screen, stays as it is. The device has still turned, and the next app that rotates follows it. Coordinates do not change with it: every tool keeps using the device's [portrait frame](https://air.build/docs/mcp-tools/simulator_screen/#coordinates). The device is shared, so the turn shows for everyone using it.

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| No | No | Yes |

## Inputs

| Input | Type | Required | Default | What it does |
| --- | --- | --- | --- | --- |
| `teamId` | string (UUID) | Yes | — | The Team, from [list_teams](https://air.build/docs/mcp-tools/list_teams/) |
| `simulator` | string | No | The Team's default device | Which device, by `id` from [list_simulators](https://air.build/docs/mcp-tools/list_simulators/#result) |
| `orientation` | string: `portrait`, `landscape-left`, `landscape-right`, `portrait-upside-down` | Yes | — | The orientation to turn to |

## Result

| Field | What |
| --- | --- |
| `ok` | `true` |
| `orientation` | The orientation asked for |

```json
{ "ok": true, "orientation": "landscape-left" }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| orientation is required. | `orientation` is missing | Send one |
| orientation must be one of portrait, landscape-left, landscape-right, portrait-upside-down. | Another value | Use one of these |

Plus the errors every Simulator tool can return: see [start_simulator](https://air.build/docs/mcp-tools/start_simulator/#device-errors).

## Example

```json
{"name": "simulator_rotate", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "orientation": "landscape-left"}}
```
