send_vm_key
Send keyboard key combinations to a virtual machine, such as ctrl-alt-delete, to trigger actions like rebooting or logging in.
Instructions
Send a key event to a VM (e.g. ctrl-alt-del).
Args: node: The node name. vmid: The VM ID. key: Key combination (e.g. 'ctrl-alt-delete').
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>",
"key": "<key>"
},
"name": "send_vm_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| node | Yes | ||
| vmid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |