Execute Command in Termux
adb_termux_execExecute bash commands in Termux on an Android device via ADB, requiring user confirmation to prevent unauthorized actions.
Instructions
Execute a command in Termux bash. ⚠️ 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_termux_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to execute in Termux bash environment | |
| confirm | Yes | Confirmation flag - must be true | |
| timeout | No | Timeout in seconds |