Execute Android Shell Command
adb_shellExecute Android shell commands to control device operations. Requires explicit confirmation to ensure safe command execution.
Instructions
Execute an Android shell command. ⚠️ Requires confirm=true.
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>",
"confirm": "<confirm>"
},
"name": "adb_shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to execute | |
| confirm | Yes | Confirmation flag - must be true | |
| timeout | No | Timeout in seconds |