# alert

Show a device alert.

```js
alert(title, message)
```

## Arguments

| Argument | Type | Meaning |
| --- | --- | --- |
| `title` | string | Alert title. |
| `message` | string | Alert body. |

## Returns

No return value (`undefined`).

## Example

```js
alert("Automation", "Please check the result.");
```

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