Copy text to the clipboard
set_clipboardPut text on the macOS clipboard for the user to paste, replacing existing contents; mark sensitive items so clipboard managers skip history.
Instructions
Put text on the clipboard, replacing what it held, for the user to paste.
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": {
"text": "<text>"
},
"name": "set_clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to put on the clipboard. | |
| sensitive | No | True for a password or a token: clipboard managers are asked not to show it or keep it in their history. Any app can still read it, so clear the clipboard after use. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |