# typeText

Type into the foreground app.

```js
typeText(text)
```

## Arguments

| Argument | Type | Meaning |
| --- | --- | --- |
| `text` | string | Text to insert. |

## Returns

No return value (`undefined`).

## Example

```js
typeText("Hello");
```

## Notes

Focus the intended field before typing or deleting; verify the result.

[All JavaScript APIs](https://mcp.applesauceos.com/doc/api.md) · [Automation playbook](https://mcp.applesauceos.com/doc/ai.md)
