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 |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from DroidMind
- capture_bugreport
- clear_app_data
- connect_device
- create_directory
- delete_file
- devicelist
- device_logcat
- device_properties
- disconnect_device
- dump_heap
- file_exists
- input_text
- install_app
- list_directory
- list_packages
- press_key
- pull_file
- push_file
- read_file
- reboot_device
- screenshot
- shell_command
- start_app
- start_intent
- stop_app
- swipe
- tap
- uninstall_app
- write_file
Related Tools
- @hyperb1iss/droidmind
- @hyperb1iss/droidmind
- @hyperb1iss/droidmind
- @hyperb1iss/droidmind
- @hyperb1iss/droidmind