adb_root_shell
Execute commands as root on a rooted Android device via su, enabling privileged device control when standard ADB access is insufficient.
Instructions
Execute a command as root via su. Requires rooted device.
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": {
"command": "<command>"
},
"name": "adb_root_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial | |
| command | Yes | Command to run as root |