# list_simulators

> 这个 MCP 工具列出 AirBuild 为团队提供的每种 iOS 模拟器设备，以及团队中每种设备的模拟器是否正在运行。

Source: https://air.build/cn/docs/mcp-tools/list_simulators/

`list_simulators` 列出 AirBuild 为团队提供的 iOS 模拟器设备：每种设备的 ID、名称和 iOS 版本，哪一种是默认设备，以及团队中该设备的模拟器是关闭、正在启动还是正在运行。它不启动任何内容。它是只读的。

团队中每种设备最多有一个模拟器，并且是共享的：AirBuild App 中的模拟器面板、团队的智能体以及登录到该团队的每个 MCP 客户端，看到和使用的都是同一个。其中一方安装、点按或更改的内容，其他各方都会看到。其他每个模拟器工具都把这里的 `id` 作为 `simulator` 输入，省略 `simulator` 时使用默认设备。

| 只读 | 破坏性 | 幂等 |
| --- | --- | --- |
| 是 | 否 | 是 |

## 输入

| 输入 | 类型 | 必填 | 默认值 | 作用 |
| --- | --- | --- | --- | --- |
| `teamId` | 字符串（UUID） | 是 | — | 团队，来自 [list_teams](https://air.build/cn/docs/mcp-tools/list_teams/) |

## 结果

| 字段 | 说明 |
| --- | --- |
| `simulators` | AirBuild 提供的每种设备一项 |
| `simulators[].id` | 设备的 ID：把它作为 `simulator` 传给其他模拟器工具 |
| `simulators[].name` | 设备的名称 |
| `simulators[].runtime` | 它运行的 iOS 版本 |
| `simulators[].isDefault` | 省略 `simulator` 时工具使用的设备为 `true` |
| `simulators[].state` | `off`、`starting` 或 `running`：团队中这种设备的模拟器的状态 |

```json
{
  "simulators": [
    { "id": "iphone-example", "name": "iPhone", "runtime": "iOS 27.0", "isDefault": true, "state": "running" },
    { "id": "ipad-example", "name": "iPad", "runtime": "iOS 27.0", "isDefault": false, "state": "off" }
  ]
}
```

## 错误

只有所有工具都可能返回的错误，列在 [服务器与登录](https://air.build/cn/docs/mcp-tools/server/#errors) 中，例如 `teamId must be a UUID, from the list tools.`

## 示例

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