Run Program in Guest
fusion_run_in_guestRun a program inside a VMware Fusion guest OS using the VM's .vmx path and guest credentials, returning the program's output. Requires VMware Tools for guest authentication.
Instructions
Run a program inside a VMware Fusion guest OS.
Requires VMware Tools to be installed and running in the guest.
Args:
vmx_path (string): Absolute path to the VM's .vmx file.
guest_user (string): Username for guest authentication.
guest_password (string): Password for guest authentication.
program (string): Full path to the program inside the guest OS.
program_args (string, optional): Arguments to pass to the program.
no_wait (boolean, optional): If true, returns immediately without waiting for the program to finish. Default: false.
Returns: Output from the program or confirmation that it was launched.
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": {
"vmx_path": "<vmx_path>",
"guest_user": "<guest_user>",
"guest_password": "<guest_password>",
"program": "<program>"
},
"name": "fusion_run_in_guest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| no_wait | No | Return immediately without waiting for completion | |
| program | Yes | Full path to the program inside the guest | |
| vmx_path | Yes | Absolute path to the .vmx file | |
| guest_user | Yes | Guest OS username | |
| vm_password | No | Encryption password for the VM (if encrypted) | |
| program_args | No | Arguments to pass to the program | |
| guest_password | Yes | Guest OS password |