esxi_guest_download
Downloads a file from a guest VM to a local path via VMware Tools, enabling file retrieval without direct guest access.
Instructions
Download a file from the guest via Tools (govc guest.download).
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": {
"alias": "<alias>",
"vm": "<vm>",
"remote_path": "<remote_path>",
"local_path": "<local_path>"
},
"name": "esxi_guest_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | ||
| alias | Yes | ||
| guest_user | No | ||
| local_path | Yes | ||
| remote_path | Yes | ||
| guest_password | No |