shell_exec
Execute shell commands on an Android device for follow-up verification of IPC security tests. Useful for reading files, checking broadcast triggers, or dumping logcat.
Instructions
Execute a shell command on the device via shell.exec.
Useful for follow-up verification (read a file the provider exposed, check that a broadcast actually fired, dump logcat, etc.). Beware large outputs — the shell command runs under the agent's UID, which on most devices is the same as the system_user.
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>"
},
"name": "shell_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||