shell
Run device-level commands on Android devices or iOS simulators to inspect, debug, or automate mobile environments.
Instructions
Run a shell command on a device (adb shell for Android, simctl spawn for iOS)
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": {
"platform": "<platform>",
"device": "<device>",
"command": "<command>"
},
"name": "shell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device ID or name | |
| command | Yes | Command to execute on the device | |
| platform | Yes | Target platform |