Copy file or directory from Parallels guest to host
vm_copy_from_guestCopy files or directories from a running VM to the host filesystem, retrieving logs, test reports, or build artifacts produced inside the guest.
Instructions
Stream a file or directory from a guest path back to the host filesystem.
Extracts test reports, build artifacts, logs, or files produced inside the VM.
Args: vm: The VM name or UUID. guest_path: Path to the file or directory inside the guest. host_path: Destination path on the host where file/folder will be written. user: Optional guest user to read files as. timeout_s: Transfer timeout in seconds (default: 300s).
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>",
"guest_path": "<guest_path>",
"host_path": "<host_path>"
},
"name": "vm_copy_from_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| user | No | ||
| host_path | Yes | ||
| timeout_s | No | ||
| guest_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| uuid | Yes | ||
| bytes | Yes | ||
| source | Yes | ||
| message | Yes | ||
| destination | Yes |