env_pull
Copy a file or directory out of a VirtualBox guest environment onto the host using the existing connection; missing local parent directories are created automatically.
Instructions
Copy a file or directory out of an environment onto this host, over the same connection env_exec uses. guest_path is inside the guest and always uses forward slashes, Windows guests included; local_path is on the host, where this server runs, and its missing parent directories are created. Set recursive for a directory. Needs the same credentials env_exec needs.
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": {
"name": "<name>",
"guest_path": "<guest_path>",
"local_path": "<local_path>"
},
"name": "env_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | name of the environment to copy out of | |
| recursive | No | copy a directory and everything under it | |
| guest_path | Yes | path inside the guest to copy from, forward slashes even on Windows guests (C:/Users/terrarium/x) | |
| local_path | Yes | path on THIS host to copy to; the server runs on the host, not in the guest |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| guest_path | Yes | ||
| local_path | Yes |