# simulator_displays

> The MCP tool that lists the Team's Simulator's displays, which one is in use, and a foldable's hinge angle.

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

`simulator_displays` lists the displays of the Team's running Simulator and says which one is in use. On a foldable such as iPhone Duo it also gives the hinge angle and which panel is lit. It is read-only. A phone has one display. A foldable has two: the cover display and the inner display. Use a display's `screenId` as the `display` input of [simulator_tap](https://air.build/docs/mcp-tools/simulator_tap/), [simulator_swipe](https://air.build/docs/mcp-tools/simulator_swipe/) and [simulator_input](https://air.build/docs/mcp-tools/simulator_input/) to send input to that display. Left out, input goes to the display in use. After [simulator_fold](https://air.build/docs/mcp-tools/simulator_fold/), call it again until `active` has moved: that can take up to 3 seconds.

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| Yes | 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) |

## Result

| Field | What |
| --- | --- |
| `ok` | `true` |
| `displays` | One entry per display |
| `displays[].screenId` | The display's id |
| `displays[].name` | Its name |
| `displays[].active` | `true` for the display the device is showing on now |
| `displays[].integrated` | `true` when it is built into the device |
| `displays[].width`, `displays[].height` | The panel's size in pixels, before any rotation |
| `displays[].scale` | Pixels per point |
| `displays[].quarterTurnsCw` | Quarter turns clockwise from how the panel is mounted to upright (0 to 3) |
| `hinge` | Only on a foldable; `null` otherwise |
| `hinge.degrees` | The hinge angle, 0 closed to 180 flat; `null` until the device has reported one |
| `hinge.litPanel` | `primary` (the cover display) or `secondary` (the inner display); `null` when the device could not say |

```json
{
  "ok": true,
  "displays": [
    { "screenId": 1, "name": "Cover", "active": false, "integrated": true, "width": 1398, "height": 2034, "scale": 3, "quarterTurnsCw": 0 },
    { "screenId": 3, "name": "Inner", "active": true, "integrated": true, "width": 2006, "height": 2852, "scale": 3, "quarterTurnsCw": 1 }
  ],
  "hinge": { "degrees": 180, "litPanel": "secondary" }
}
```

## Errors

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

## Example

```json
{"name": "simulator_displays", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000"}}
```
