run_shell
Execute arbitrary commands on an Android device after opting in via ADB_MCP_ALLOW_SHELL, serving as a fallback when scoped tools cannot complete the task. Returns rc and output.
Instructions
Run an arbitrary device shell command. DISABLED by default — set the env var ADB_MCP_ALLOW_SHELL=1 to enable. Prefer the specific scoped tools; this exists only as an explicit, opt-in escape hatch. Returns {rc, output}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| command | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||