# simulator_services

> The MCP tool that lists the Team's Simulator's background services by category, and turns them on or off.

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

`simulator_services` shows which background services of iOS run on the Team's running Simulator, grouped into categories and into the features that need them. With `enable` or `disable` it turns them on or off. A Simulator starts with services that apps rarely need turned off. When an app needs one of them (for example push notifications, iCloud or Siri), turn it on here. Without `enable` or `disable`, the tool only reads. The device is shared, so a change applies for everyone using it. It is not destructive, but turning services off can stop features working.

A service that is turned on may not start until the device restarts or SpringBoard restarts: it is then listed under `pending` and `restartRequired` is `true`. The tool never restarts anything by itself, because both end the running apps. To finish the change, restart the Simulator with [shutdown_simulator](https://air.build/docs/mcp-tools/shutdown_simulator/) and [start_simulator](https://air.build/docs/mcp-tools/start_simulator/).

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

## Items

Each entry of `enable` and `disable` is one of:

- `all`: every service in the list (to `disable`, every one that can be turned off);
- `slim`: the set a new Simulator turns off;
- a category id: `widgets`, `siri`, `search`, `icloud`, `store`, `pim`, `web`, `family`, `health`, `photos`, `apps`, `messaging`, `connectivity`, `telemetry`, `other`, `management`;
- a feature id: `push`, `storekit`, `app-store`, `universal-links`, `spotlight`, `siri`, `icloud`, `keychain-sync`, `contacts`, `calendar`, `reminders`, `mail`, `photos`, `health`, `homekit`, `imessage`, `widgets`, `wallet`, `maps`, `weather`, `news`, `game-center`, `find-my`, `screen-time`;
- one service's launchd label, as listed in a category's `disabled`.

Read the list first: the report gives every id with its name and what stops working while it is off.

## 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) |
| `enable` | list of strings | No | — | [Items](https://air.build/docs/mcp-tools/simulator_services/#items) to turn on. Each item uses letters, digits, `.`, `_` and `-` and starts with a letter or digit |
| `disable` | list of strings | No | — | [Items](https://air.build/docs/mcp-tools/simulator_services/#items) to turn off, same format |

## Result

Reading (no `enable` or `disable`):

| Field | What |
| --- | --- |
| `ok` | `true` |
| `id` | The device's id on the Simulator |
| `booted` | Whether the device is running |
| `source` | `launchd` when read from the running device; `store` when read from the settings its next start uses |
| `slim` | `true` when any listed service is off |
| `disabledCount`, `managedCount` | How many listed services are off, of how many |
| `categories` | Each with `id`, `name`, `description`, `downside` (what stops working while it is off), `state` (`enabled`, `disabled` or `partial`) and `disabled` (its services that are off) |
| `features` | Each with `id`, `name`, `enabled` (all the services it needs are on) and `disabled` |
| `persistent` | Whether changes survive a restart of the device (iOS 18.5 and later) |
| `defaultKeep` | The items a new Simulator keeps on |

```json
{
  "ok": true, "id": "…", "booted": true, "source": "launchd", "slim": true,
  "disabledCount": 120, "managedCount": 160,
  "categories": [ { "id": "siri", "name": "Siri & Intelligence", "description": "…", "downside": "…", "state": "disabled", "disabled": ["…"] } ],
  "features": [ { "id": "push", "name": "Push notifications", "enabled": false, "disabled": ["…"] } ],
  "persistent": true, "defaultKeep": ["…"]
}
```

Changing:

| Field | What |
| --- | --- |
| `ok` | `true`; `false` when some services could not be changed (the others stay changed) |
| `id` | The device's id on the Simulator |
| `appliedAt` | `now` (the device is running) or `next-boot` |
| `enabled` | Services turned on |
| `disabled` | Services turned off and stopped |
| `pending` | Services turned on but not running yet, each with `label` and `reason` |
| `failed` | Services that could not be changed, each with `label` and `error` |
| `restartRequired` | `true` when something in `pending` waits for a restart |

Only services whose state changed are listed, so asking for the current state gives empty lists.

```json
{ "ok": true, "id": "…", "appliedAt": "now", "enabled": ["…"], "disabled": [], "pending": [], "failed": [], "restartRequired": false }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| enable lists service items such as siri or icloud. | `enable` is not a list of item names (likewise `disable`) | Send a list of [items](https://air.build/docs/mcp-tools/simulator_services/#items) |
| unknown service _"item"_: expected all, slim, a category id, a feature id, or a cataloged launchd label _…_ | An item names nothing in the list | Read the list and use its ids |
| _label_ stays enabled: _reason_ | That service cannot be turned off | Leave it on |
| asked to both enable and disable _labels_ | The same service is in both lists | Remove it from one |

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_services", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "enable": ["push", "icloud"]}}
```
