adb_shell
Execute shell commands on Android devices to run arbitrary scripts or diagnostics. Useful for device automation and system-level tasks.
Instructions
Execute a shell command on the 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": {
"serial": "<serial>",
"command": "<command>"
},
"name": "adb_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | ||
| command | Yes |