qemu_qmp
Run raw QMP commands against a QEMU VM to query status, reset the guest, save memory, or add devices when built-in actions are insufficient.
Instructions
Escape hatch: run a raw QMP command on the VM.
Examples: query-status, system_reset, memsave, device_add. See the QEMU QMP reference for commands and their arguments.
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>",
"command": "<command>"
},
"name": "qemu_qmp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| command | Yes | ||
| arguments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |