adb_multi_shell
Run an ADB shell command across multiple or all connected Android devices in parallel, with results grouped by device.
Instructions
Execute a shell command on multiple (or all) connected devices in parallel. Returns results grouped by 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_multi_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to execute on each device | |
| devices | No | Device serials to target (omit for all online devices) | |
| timeout | No | Timeout per device in milliseconds (1s-10min) |