Copy an image to the clipboard
copy_image_to_clipboardCopies an image file from disk to the macOS clipboard as an image, replacing existing clipboard contents so other apps can paste it as if copied in Preview.
Instructions
Put an image on the clipboard, from a file, replacing what it held. Other apps get it as an image copied in Preview, not as a file.
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": {
"path": "<path>"
},
"name": "copy_image_to_clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path of the image file, in any format macOS opens (PNG, JPEG, HEIC, GIF, TIFF, PDF...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |