Android shell
android_shell- Group
- Remote screens
- Turned on by
- Its own switch on the Tools page of Conversation settings.
- Approval
- Reviewed: writes and open-ended actions ask for approval unless the security level or an earlier “Always allow” covers them.
- Profile key
tool.android_shell.description
Runs one command in the shell of an Android device connected as a remote-control screen, and returns its exit status, standard output and standard error.
It runs as adb shell's shell user, not root, for what the other Android tools don't cover, such as am, pm, settings, dumpsys and getprop. The command must end by itself within the timeout: one that streams, such as top, is cut off.
Parameters
| Parameter | Type | Details |
|---|---|---|
command requiredCommand | string | The shell command line. |
serverIdServer ID | string | Default: the Android device the preview pane shows, else the only one connected. |
timeoutTimeout (ms) | integer | 1000-20000 ms, default 10000. Default 10000 |