vm_push
Copies a file from the host into a UTM guest VM over the VM network using curl in the guest, writing it to the specified full guest file path.
Instructions
Copies a host file into the guest (over HTTP on the VM network; needs curl in the guest, built into Windows 10+). guest_path is the full destination file path.
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>",
"local_path": "<local_path>",
"guest_path": "<guest_path>"
},
"name": "vm_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| guest_path | Yes | ||
| local_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |