> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: Utilities
icon: clipboard
---

# <ApiPageIcon icon="clipboard" />Utilities

## utils<ApiTag label="global table" />

Read `utils.clipboard` to get the text on the clipboard. Assign a string to
`utils.clipboard` to replace the text on the clipboard.

<ApiMembers>
  <ApiMember kind="prop" name="utils.clipboard" summary="The text on the clipboard, in UTF-8. It is an empty string if the clipboard has no text." ret="[[{&#x22;s&#x22;:&#x22;string&#x22;,&#x22;k&#x22;:&#x22;prim&#x22;,&#x22;h&#x22;:&#x22;/cs2/api_reference/lua/base#string&#x22;}]]" />
</ApiMembers>
