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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "mac_clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to write (required when action = "write") | |
| action | Yes | Clipboard operation |