# copyText

Replace the clipboard text.

```js
copyText(text)
```

## Arguments

| Argument | Type | Meaning |
| --- | --- | --- |
| `text` | string | New clipboard contents. |

## Returns

No return value (`undefined`).

## Example

```js
copyText("Hello");
```

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