mac_paste
Pastes text into the focused app with Cmd+V while preserving and restoring the clipboard, verifying the field receives the text and preventing unintended clipboard insertion.
Instructions
Paste text with Cmd+V through the clipboard (⌘V goes out on the key that types V in the current keyboard layout; no such key: not_delivered, keyboard_layout), then put the user's clipboard back: every item and type is copied aside and restored within one call, only after the paste shows in the focused element (else after a 1 s hold) and only if nothing else wrote to the clipboard meanwhile — not while the app does not answer, so a late paste cannot insert the user's own clipboard; delivered_verified only when the focused field's value becomes exactly the text pasted over its selection; a password manager's concealed item is never copied — the clipboard is cleared after the paste instead. The pasted text is marked transient for clipboard managers. Pass app to refuse input unless that app is frontmost (focus guard). Refused when the clipboard holds Universal Clipboard content or more than 64 MB (force:true pastes anyway and leaves the pasted text on the clipboard). mac_type does not touch the clipboard.
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": "mac_paste"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| text | Yes | ||
| force | No |