shell_command
Execute shell commands on Android devices via DroidMind, specifying device serial, command, and output limits for precise control and efficient response handling.
Instructions
Run a shell command on the device.
Args: serial: Device serial number command: Shell command to run max_lines: Maximum lines of output to return (default: 1000) Use positive numbers for first N lines, negative for last N lines Set to None for unlimited (not recommended for large outputs) max_size: Maximum output size in characters (default: 100000) Limits total response size regardless of line count
Returns: Command output
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | ||
max_lines | No | ||
max_size | No | ||
serial | Yes |