copy_file_host_to_guest
Copies a file from the host machine to a specified path inside a VMware guest OS, enabling file transfer to VMs for setup, updates, or data delivery.
Instructions
Copy a file from the host to the guest OS (CopyFileFromHostToGuest).
Args: vm: VM name, substring, or full .vmx path. host_path: Existing source file path on the host. guest_path: Destination file path inside the guest OS. guest_user: Guest OS username. guest_password: Guest OS password (masked in logs/responses).
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": {
"vm": "<vm>",
"host_path": "<host_path>",
"guest_path": "<guest_path>"
},
"name": "copy_file_host_to_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| host_path | Yes | ||
| guest_path | Yes | ||
| guest_user | No | ||
| guest_password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||