esxi_guest_process
Start or terminate processes in a VMware guest OS using explicit credentials and program paths. Start actions return a PID so you can check exit codes via process status.
Instructions
Guest 进程start/terminate:显式OS内路径和认证;start返回PID,再process_status查看exitCode。不会自动用ESXi shell替代guest。
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_id": "<vm_id>",
"expected_name": "<expected_name>",
"authentication": "<authentication>",
"action": "<action>"
},
"name": "esxi_guest_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| vm_id | Yes | ||
| action | Yes | ||
| dry_run | No | ||
| arguments | No | ||
| request_id | No | ||
| environment | No | ||
| program_path | No | ||
| expected_name | Yes | ||
| authentication | Yes | ||
| working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |