adb_qemu_guest_shell
Execute shell commands on a connected QEMU guest VM via ADB; derive the guest serial internally and apply the same security checks as standard ADB shell access.
Instructions
Execute a shell command on a QEMU guest VM via ADB. The VM must be connected first (use adb_qemu_connect). The guest serial is derived internally — no user-supplied host/IP reaches the ADB binary. Subject to the same security middleware checks as adb_shell.
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": "adb_qemu_guest_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | VM name (must be connected via adb_qemu_connect) | |
| command | Yes | Shell command to execute on the guest | |
| timeout | No | Command timeout in milliseconds (1s-60s). Default 15s. |