mac_clipboard
Read, write, or clear text on the macOS clipboard to manage clipboard content programmatically.
Instructions
Read / write / clear the macOS clipboard (text only, via pbpaste/pbcopy).
Examples:
Read text: { action: "read" }
Write text: { action: "write", text: "hello" }
Clear: { action: "clear" }
Limitations:
Text only. Images/files in the clipboard appear as their typed name.
No clipboard history — only the current value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to write (required when action = "write") | |
| action | Yes | Clipboard operation |