mumu_root_exec
Run a shell command on a MuMu emulator instance only after asserting root, so partial or silently broken non-root runs are blocked with clear guidance on what to fix.
Instructions
Run a shell command with an explicit root check, refusing silently-broken runs.
mumu_shell already runs as root when adbd is root, but it will happily run as
shell and let a command fail halfway. This asserts the uid first and tells you
exactly what to fix if it is not root.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mumu_root_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | ||
| vmindex | No | ||
| timeout_s | No |