Copy files to the clipboard
copy_files_to_clipboardCopies files and folders to the macOS clipboard, replacing current contents, so you can paste them in Finder or attach them in apps like Mail.
Instructions
Put files on the clipboard, replacing what it held, as if they were copied in Finder: pasting in Finder copies them there, and apps like Mail attach them.
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": {
"paths": "<paths>"
},
"name": "copy_files_to_clipboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | The paths of the files and folders to copy. They must exist. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |