qemu_key
Sends keystrokes and key chords such as ctrl-alt-f2 or alt-sysrq-s to a headless QEMU VM, enabling guest control without SSH or a guest agent.
Instructions
Press a key or chord: "enter", "esc", "f12", "ctrl-alt-f2", "ctrl-c"...
Parts are joined with "-" and pressed together. A literal "-" key is written "--" (e.g. "ctrl--" for ctrl + minus). Use qemu_type for plain text. "sysrq" sends the Linux Magic SysRq key (e.g. "alt-sysrq-s" to sync disks, "alt-sysrq-c" to force a crash dump on a guest kernel built with CONFIG_MAGIC_SYSRQ).
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>",
"combo": "<combo>"
},
"name": "qemu_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| combo | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |