# simulator_type_text

> The MCP tool that types text into whatever has focus on the Team's Simulator.

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

`simulator_type_text` types `text` on the Team's running Simulator's hardware keyboard, into whatever has focus. It does not pick a field: tap the field first with [simulator_tap](https://air.build/docs/mcp-tools/simulator_tap/). Spaces and line breaks are kept. It types US-layout ASCII only, and the whole text is checked before the first key is sent, so text with another character types nothing and fails. To enter other text (accents, Chinese, emoji), put it on the clipboard with [simulator_write_clipboard](https://air.build/docs/mcp-tools/simulator_write_clipboard/) and paste it with [simulator_key](https://air.build/docs/mcp-tools/simulator_key/) (`KeyV` with `command`). The tool does not check what was typed; read the field back with [simulator_find](https://air.build/docs/mcp-tools/simulator_find/).

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

## 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) |
| `text` | string, at least 1 character | Yes | — | What to type: US-layout ASCII |

## Result

| Field | What |
| --- | --- |
| `ok` | `true` |

```json
{ "ok": true }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| text is required. | `text` is missing or empty | Send the text |
| _A message naming the character_ | The text has a character outside US-layout ASCII | Write it to the clipboard with [simulator_write_clipboard](https://air.build/docs/mcp-tools/simulator_write_clipboard/) and paste |

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_type_text", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "text": "Buy milk"}}
```
