execute_vm_command
Run commands inside a virtual machine using the QEMU guest agent. Specify node, VM ID, and the command to execute.
Instructions
Execute command via QEMU guest agent
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": {
"node": "<node>",
"vmid": "<vmid>",
"command": "<command>"
},
"name": "execute_vm_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | The node name | |
| vmid | Yes | The VM ID | |
| command | Yes | The command to execute |