execute_command
Run shell commands on an Android phone remotely. Specify command, working directory, and timeout.
Instructions
Execute a shell command on the phone.
Args: command: Shell command to execute working_directory: Working directory (default: current) timeout: Timeout in seconds (default: 30)
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": "execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| working_directory | No | . | |
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |