send_files
Copy files and folders from the user's computer into a running VM or container, preserving names, timestamps, and folder structure; existing items stay unless replace is true.
Instructions
Copy files and folders of the user's computer (whole paths) into a folder of a running VM or container — names and times kept, folders whole. Fast over the network when the guest can reach the computer, otherwise through Proxmox (about 1 MB/s). What is there already is not replaced unless replace is true. The user sees every path in the approval window.
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": {
"host": "<host>",
"vmid": "<vmid>",
"paths": "<paths>",
"folder": "<folder>",
"reason": "<reason>"
},
"name": "send_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | The host's id, from list_hosts. | |
| vmid | Yes | The guest's ID (VMID). | |
| owner | No | Linux guests: the user (or user:group) the copied items are given to. Without it they get the folder's owner — root in /tmp, where then only root can remove them. | |
| paths | Yes | ||
| folder | Yes | The guest's folder it goes into. | |
| reason | Yes | Why you are doing this, in a sentence. The user sees it in the approval window and in the log. | |
| replace | No |