About DeepADB
DeepADB is an MCP server published by fullread in the Data category: the deepest Android Debug Bridge MCP server — 147 tools from UI to baseband. Conduid read 211 tools from its source: adb_a11y_audit, adb_a11y_touch_targets, adb_a11y_tree, adb_airplane_cycle, adb_airplane_mode, adb_apex_list and 205 more. No package is published for it, so it installs from a source checkout.
The repository has 24 stars and 2 forks, and its last commit was on 27 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include adb, android, baseband, cellular, debugging and security.
Install
git clone https://github.com/fullread/DeepADBTools (211)
adb_a11y_auditTargeted Android accessibility checks: missing labels, undersized touch targets (<48dp), duplicate descriptions, unfocusable clickables| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_a11y_touch_targetsList all interactive elements with touch target dimensions in dp, flag undersized| Parameter | Type | Description |
|---|---|---|
| belowMinOnly | boolean | Only show elements below the 48dp minimum |
| device | string | Device serial |
adb_a11y_treeAccessibility-focused UI tree showing only screen-reader-relevant elements with roles, labels, and states| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_airplane_cycleCycle airplane mode on/off to force cellular re-registration| Parameter | Type | Description |
|---|---|---|
| delaySeconds | number | Seconds to keep airplane mode on (1-60, default 3) |
| device | string | Device serial |
adb_airplane_modeToggle airplane mode with broadcast and verification| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| enabled * | boolean | true = enable airplane mode, false = disable |
adb_apex_listList installed APEX modules with version info| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_app_route_contextResolve an installed package to its UID and correlate its effective `ip rule` ranges, route tables, network policy, VPN, and default-network state without changing routes or policy| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| includeConnectivitySummary | boolean | Include a privacy-conscious connectivity/VPN/default-network summary |
| packageName * | string | Installed Android package to inspect |
adb_at_batchSend multiple AT commands sequentially with per-command results. Configurable inter-command delay| Parameter | Type | Description |
|---|---|---|
| commands * | array | Array of AT commands to send in order (max 50) |
| delayMs | number | Delay between commands in ms (0-10000, default 500) |
| device | string | Device serial |
| force | boolean | Bypass dangerous command safety checks |
| port | string | Modem device node (auto-detects if omitted) |
| timeout | number | Timeout per command in ms |
adb_at_cross_validateCross-validate baseband firmware by comparing AT command responses (ATI, AT+CGMR, AT+CGMM) against system properties. Flags discrepancies as potential firmware tampering, incomplete OTA, or property spoofing. Shannon-specific AT+DEVCONINFO support. Requires root| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| port | string | Modem device node (auto-detects if omitted) |
| timeout | number | Response timeout per command in ms |
adb_at_detectAuto-detect modem AT command device node by chipset family (Shannon, Qualcomm, MediaTek, Unisoc, generic). Probes known paths and returns the first responding node| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_at_probeRun a standard diagnostic probe: modem ID, signal quality, network registration, SIM status, operator, functionality mode| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| port | string | Modem device node (auto-detects if omitted) |
adb_at_sendSend a single AT command to the modem with response capture. Auto-detects port or accepts manual override. Dangerous command blocklist with force override| Parameter | Type | Description |
|---|---|---|
| command * | string | AT command to send (e.g., 'AT+CSQ', 'ATI', 'AT+COPS?') |
| device | string | Device serial |
| force | boolean | Bypass dangerous command safety check |
| port | string | Modem device node (e.g., '/dev/umts_router'). If omitted, auto-detects. |
| timeout | number | Response timeout in ms (1000-30000, default 5000) |
adb_avd_listList available AVDs (PC mode) or detect KVM/QEMU virtualization capabilities (on-device mode)adb_baseband_infoModem firmware, RIL implementation, chipset, SIM configuration (dual SIM detection with per-slot state), network registration. IMEI retrieval is opt-in only (`includeImei=true`)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| includeImei | boolean | Include IMEI in output (sensitive permanent device identifier — opt-in only) |
adb_batch_actionsExecute multiple input actions in a single tool call. Reduces ADB round-trips for multi-step UI interactions. Each action runs sequentially with an optional delay between them. Supported action types: tap, swipe, fling, long_press, double_tap, keyevent, text, drag, pinch, back, home, sleep.| Parameter | Type | Description |
|---|---|---|
| actions | array | Action type — one of: tap, swipe, fling, long_press, double_tap, keyevent, text, drag, pinch, back, home, sleep. The args field documents the expected argument format per type. |
| delayMs | number | Delay between actions in ms (0-5000, default 100) |
| device | string | Device serial |
| stopOnError | boolean | Stop execution if any action fails (default true) |
adb_batteryBattery status, level, temperature, and charging info| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_battery_drainMeasure battery drain rate over a configurable duration (3-60s). Reports average mA, mW, estimated %/hour. Optional package-specific batterystatsadb_bluetooth_firmwareBluetooth firmware and chipset identification: firmware version, BT version (4.0–5.4 from LMP), adapter state, LE capabilities (2M PHY, Coded PHY, extended advertising), active profiles (A2DP/HFP/HID/LE Audio), bonded device count. MAC/name opt-in only| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| includeIdentifiers | boolean | Include Bluetooth MAC address and device name (permanent identifiers — opt-in only) |
| maxLines | number | Lines of dumpsys output to inspect (50-2000, default 300). Raise for verbose vendor builds. |
adb_bugreportFull bug report zip capture (device state, logs, system info)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_build_and_installBuild a debug APK and install it on the connected device (convenience wrapper)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| projectPath * | string | Path to the Android project root |
| timeout | number | Build+install timeout in milliseconds (30s-30min, default 5min). V5 fix. |
adb_carrier_configCarrier configuration dump, carrier ID, preferred APN| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_catRead text file from device with optional line limit| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| maxLines | number | Maximum lines to return (1-10000) |
| path * | string | File path on device |
adb_cell_identityCell ID (CID), TAC/LAC, EARFCN, PCI, PLMN from dumpsys phone for cellular network analysis| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_ci_device_readyComprehensive CI readiness check. Verifies: device online, booted, package manager ready, screen unlocked, network available. Returns structured pass/fail results.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_ci_run_testsRun Android instrumented tests (androidTest) via `am instrument` and capture results. Returns structured pass/fail output.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| runner | string | Test runner class (default: AndroidX JUnit runner) |
| testClass | string | Specific test class to run (optional) |
| testMethod | string | Specific test method (requires testClass) |
| testPackage * | string | Test package (e.g., 'com.example.app.test') |
| timeout | number | Timeout in ms (10s-10min, default 5 min) |
adb_ci_wait_bootWait for a device or emulator to fully boot. Polls sys.boot_completed and waits for the launcher to be ready. Essential for CI pipelines.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| timeoutSeconds | number | Maximum time to wait for boot in seconds (default 120) |
adb_clear_dataClear all app data and cache| Parameter | Type | Description |
|---|---|---|
| confirm | string | Must equal packageName to confirm the destructive operation. AP5 fix: prevents accidental data loss from misclicks/mistyped invocations. |
| device | string | Device serial |
| packageName * | string | Package name (e.g., 'com.example.app') |
adb_clipboardRead or write the device clipboard. Write mode sets the clipboard content; read mode retrieves it. Clipboard access requires Android 10+ and may need the app to be in foreground on Android 12+.adb_connectConnect to device over WiFi/TCPadb_crash_logsANR traces and tombstone crash dumps from /data/anr/ and /data/tombstones/| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| maxEntries | number | Maximum entries to return per type (1-20, default 5) |
| type | string | Type of crash data to retrieve (default: both) |
adb_current_activityGet focused activity and top window stack| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_device_infoDetailed device properties (model, OS, SDK, build, security patch, ABI)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (auto-selects if only one connected) |
adb_device_stateCombined snapshot: battery level/status/temp, network type, WiFi state, screen on/off, orientation, foreground activity| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_devicesList all connected devices with state, model, and product infoadb_disconnectDisconnect wireless device(s)adb_dumpsysRun dumpsys for any service (or list all services)| Parameter | Type | Description |
|---|---|---|
| args | string | Additional arguments passed to dumpsys |
| device | string | Device serial |
| service * | string | Service name (e.g., 'battery', 'telephony.registry', 'activity') or 'list' |
adb_emulator_startLaunch an AVD with headless, cold boot, and GPU options (PC mode) or report QEMU alternative (on-device mode)| Parameter | Type | Description |
|---|---|---|
| avdName * | string | AVD name (from adb_avd_list) |
| coldBoot | boolean | Force cold boot (-no-snapshot-load) |
| gpuMode | string | GPU acceleration mode |
| headless | boolean | Run without GUI window (-no-window) |
adb_emulator_stopGracefully shut down a running emulator| Parameter | Type | Description |
|---|---|---|
| avdName | string | AVD name to stop. If omitted, lists running emulators. |
| device | string | Emulator device serial (e.g., 'emulator-5554') — alternative to avdName |
adb_extract_apksPull all splits for a package to a local directory for analysis or backup| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| outputDir | string | Local output directory (default: temp dir) |
| packageName * | string | Package name to extract |
adb_farm_matrixList available device models and Android versions on Firebase Test Lab| Parameter | Type | Description |
|---|---|---|
| type | string | List available device models or Android API versions |
adb_farm_resultsRetrieve results from a Test Lab run or list recent test matrices| Parameter | Type | Description |
|---|---|---|
| matrixId | string | Test matrix ID (from adb_farm_run output). Omit to list recent matrices. |
adb_farm_runRun instrumented tests on Firebase Test Lab across multiple device models and API levels| Parameter | Type | Description |
|---|---|---|
| appApk * | string | Path to the app APK file |
| devices | array | Device specs as 'model=DEVICE,version=API' (e.g., 'model=bluejay,version=33'). Omit for default device. |
| execTimeoutMs | number | Local execFile timeout for the gcloud invocation in ms (1min-60min, default 10min). Y4 fix: bigger device matrices or larger APKs can plausibly exceed the previous hardcoded 10min. |
| resultsBucket | string | GCS bucket for results (omit for default) |
| testApk * | string | Path to the test/instrumentation APK file |
| testTargets | string | Specific test class or method (e.g., 'class com.example.MyTest') |
| timeout | string | Test timeout passed to gcloud --timeout (e.g., '300s', '10m'). This is the LAB-side timeout. |
adb_file_checksumSHA-256/SHA-1/MD5 hash with size-based timeout estimation| Parameter | Type | Description |
|---|---|---|
| algorithm | string | Hash algorithm (default: sha256) |
| device | string | Device serial |
| path * | string | File path on device |
| root | boolean | Use root shell for protected paths |
adb_file_chmodChange permissions (Zod-validated octal mode, depth-based recursive protection)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| mode * | string | Octal permission mode (e.g., '755', '644', '0600') |
| path * | string | File or directory path |
| recursive | boolean | Apply recursively to directory contents. Depth-protected. |
| root | boolean | Use root shell (typically required for chmod) |
adb_file_chownChange ownership (root required, depth-based recursive protection)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| owner * | string | Owner in user:group format (e.g., '0:0', 'system:system', '10150:10150') |
| path * | string | File or directory path |
| recursive | boolean | Apply recursively to directory contents. Depth-protected. |
adb_file_copyCopy with pre-flight size+space check and post-verify size match| Parameter | Type | Description |
|---|---|---|
| destination * | string | Destination path |
| device | string | Device serial |
| recursive | boolean | Copy directories recursively (-r) |
| root | boolean | Use root shell for protected paths |
| source * | string | Source file or directory path |
adb_file_fsinfoFilesystem report: type, mount, capacity, capabilities, SELinux, limitations| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| path * | string | File or directory path to inspect |
| root | boolean | Use root shell for system paths |
adb_file_moveMove/rename with source depth protection and post-verify| Parameter | Type | Description |
|---|---|---|
| destination * | string | Destination path |
| device | string | Device serial |
| root | boolean | Use root shell for protected paths |
| source * | string | Source file or directory path |
adb_file_replaceFind/replace text in files (sed-backed, proper escaping, backup option)| Parameter | Type | Description |
|---|---|---|
| backup | boolean | Create a .bak backup before modifying |
| device | string | Device serial |
| find * | string | Text to find (literal string, not regex) |
| global | boolean | Replace all occurrences (default: true). Set false for first-only. |
| lineNumber | number | Restrict replacement to a specific line number |
| path * | string | File path on device |
| replace * | string | Replacement text |
| root | boolean | Use root shell for protected paths |
adb_file_statFile metadata: size, permissions, timestamps, ownership, SELinux context| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| path * | string | File or directory path on device |
| root | boolean | Use root shell for protected paths |
adb_file_touchCreate empty files or update timestamps (explicit timestamp support)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| path * | string | File path on device |
| root | boolean | Use root shell for protected paths |
| timestamp | string | Explicit timestamp in 'YYYY-MM-DD HH:MM:SS' format. Omit to use current time. |
adb_file_writeCreate or overwrite text files via heredoc (buffer limit warning, fs-aware, post-verify)| Parameter | Type | Description |
|---|---|---|
| append | boolean | Append to existing file instead of overwriting |
| content * | string | File content to write |
| device | string | Device serial |
| path * | string | Destination file path on device |
| root | boolean | Use root shell for protected paths |
adb_findSearch for files by name/pattern with depth control and result capping| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| maxDepth | number | Maximum directory depth to search (1-50, default 10) |
| maxResults | number | Maximum results to return (1-10000, default 500) |
| name * | string | Filename pattern (glob: *.apk, config.*, *test*) |
| root | boolean | Use root shell for system paths |
| searchPath | string | Starting directory for search |
| type | string | Filter by type: file, directory, or any |
adb_firmware_diffCompare all firmware components (baseband, bootloader, kernel, security patch, build ID, Android version, RIL) between saved fingerprints or live device. Deep parsed diffs for baseband and bootloader when changes detected| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (used when 'from' or 'to' is 'current', or for auto-selecting fingerprints) |
| from | string | Path to 'from' fingerprint JSON (or 'current' to use live device state). Defaults to the second-most-recent fingerprint. |
| to | string | Path to 'to' fingerprint JSON (or 'current' to use live device state). Defaults to the most recent fingerprint. |
adb_firmware_historyTrack firmware progression across all saved OTA fingerprints with multi-component change detection (baseband, bootloader, kernel, security patch, build ID, Android version) and parsed baseband diffs| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (filters fingerprints to this device) |
adb_firmware_probeComprehensive firmware identification: parses baseband (Shannon/Qualcomm/MediaTek/Unisoc/HiSilicon/Intel), bootloader, and RIL implementation into structured components. Reports kernel, security patch, A/B slot, verified boot state, VBMeta, hypervisor, and OTA partition inventory| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_force_stopForce-stop an app immediately| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name (e.g., 'com.example.app') |
adb_forwardForward a local port to a device port (host → device)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| local * | string | Local (host) spec, e.g., 'tcp:8080'. AF2 fix: format-validated. |
| remote * | string | Remote (device) spec, e.g., 'tcp:8080' or 'localabstract:app_socket'. AF2 fix: format-validated. |
adb_forward_listList all active forward and reverse port mappings| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (omit for all devices) |
adb_forward_removeRemove a port forward or all forwards| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| local | string | Local spec to remove (e.g., 'tcp:8080'). Omit to remove all forwards. AF2 fix: format-validated. |
adb_getpropRead a specific system property or dump all properties| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| key | string | Property key (e.g., 'ro.build.version.sdk'). Omit for all. |
adb_gps_firmwareGNSS/GPS chipset and firmware identification: hardware model (manufacturer, chip, firmware), supported constellations (GPS/GLONASS/Galileo/BeiDou/QZSS/NavIC/SBAS), signal types with frequencies, dual-frequency (L1+L5) detection, raw GNSS measurement capabilities, A-GPS modes (MSB/MSA), SUPL server configuration, carrier phase measurements| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_gradleRun a Gradle task in an Android project directory| Parameter | Type | Description |
|---|---|---|
| args | array | Additional Gradle arguments as an array of strings (e.g., ['-Pversion=1.0', '--info']). Use an array — not a space-separated string — so arguments containing quoted values are preserved as single tokens. |
| projectPath * | string | Path to the Android project root (containing gradlew) |
| task * | string | Gradle task (e.g., 'assembleDebug', 'installDebug', 'clean') |
| timeout | number | Build timeout in milliseconds (30s-30min, default 5min). V5 fix: large multi-module Android projects (60+ modules) routinely exceed the default; raise this for clean builds of bigger projects. |
adb_grant_permissionGrant a runtime permission to a package| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name (e.g., 'com.example.app') |
| permission * | string | Full permission string (e.g., 'android.permission.READ_PHONE_STATE') |
adb_grepSearch file contents with fixed-string default, recursive depth control, result capping| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| filesWithMatches | boolean | Show only filenames that contain matches, not the matching lines |
| fixedString | boolean | Use fixed-string matching (default: true, safer). Set false for regex. |
| ignoreCase | boolean | Case-insensitive search (default: true) |
| maxDepth | number | Maximum directory depth for recursive search (1-50, default 10) |
| maxResults | number | Maximum matching lines to return (1-10000, default 500) |
| path * | string | File or directory path to search |
| pattern * | string | Text pattern to search for |
| recursive | boolean | Search directories recursively |
| root | boolean | Use root shell for protected paths |
adb_health_checkComprehensive toolchain validation: ADB binary, server, device connection, authorization, root access, and storage writability| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial to check (optional) |
adb_heap_dumpCapture heap dump (.hprof) from a running process for memory analysis| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| filename | string | Output filename (default: heap_<target>_<timestamp>.hprof) |
| target * | string | Process PID (number) or package name (e.g., com.example.app) |
adb_iio_readRead raw hardware data from the Linux IIO subsystem. Auto-discovers IIO devices, classifies by kernel driver. On Tensor/Exynos: exposes per-rail ODPM power monitors showing real-time power consumption per SoC subsystem. Generic IIO path handles raw channels with calibrated scale+offset. Root required| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| listOnly | boolean | If true, list available IIO devices without reading values |
adb_inputSend tap, swipe, text, or keyevent input| Parameter | Type | Description |
|---|---|---|
| args * | string | Arguments: tap='x y', swipe='x1 y1 x2 y2 [duration_ms]', text='string', keyevent='KEYCODE_HOME' |
| device | string | Device serial |
| type * | string | Input type — one of: tap (single touch), swipe (drag between two points), text (literal string entry), keyevent (Android key code like KEYCODE_HOME). The args field documents the expected argument format per type. |
adb_input_double_tapDouble tap at a point on screen. Triggers zoom, text selection, or double-tap gestures. Two rapid taps with a configurable interval.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| intervalMs | number | Interval between taps in ms (20-500, default 80) |
| x * | number | X coordinate |
| y * | number | Y coordinate |
adb_input_dragDrag from one point to another on screen. Uses Android's draganddrop input command. Useful for drag-and-drop UI elements, sliders, map panning, and reorder operations.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| durationMs | number | Drag duration in ms (100-10000, default 1000) |
| x1 * | number | Start X coordinate |
| x2 * | number | End X coordinate |
| y1 * | number | Start Y coordinate |
| y2 * | number | End Y coordinate |
adb_input_flingPerform a high-velocity fling gesture. Like swipe but with a short duration to create scroll momentum on lists, launchers, and paged views. Useful for fast-scrolling through long lists, dismissing notifications, or triggering velocity-sensitive behaviors.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| durationMs | number | Fling duration in ms (20-200, default 50). Shorter = more velocity |
| x1 * | number | Start X coordinate |
| x2 * | number | End X coordinate |
| y1 * | number | Start Y coordinate |
| y2 * | number | End Y coordinate |
adb_input_long_pressLong press at a point on screen. Triggers context menus, selection mode, drag handles, and other long-press behaviors. Implemented as a zero-distance swipe with configurable hold duration.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| durationMs | number | Hold duration in ms (300-10000, default 1500) |
| x * | number | X coordinate |
| y * | number | Y coordinate |
adb_input_pinchPerform a multi-touch pinch (zoom out) or spread (zoom in) gesture. Two fingers move symmetrically toward or away from a center point. Uses parallel swipe injection by default (universal, no root); when root is available, can use raw sendevent for true multi-touch MT protocol injection. The 'auto' method selects the best available approach.| Parameter | Type | Description |
|---|---|---|
| angle | number | Angle in degrees for the pinch axis (0=horizontal, 90=vertical, default 90) |
| cx * | number | Center X coordinate of the pinch gesture |
| cy * | number | Center Y coordinate of the pinch gesture |
| device | string | Device serial |
| durationMs | number | Gesture duration in ms (100-5000, default 500) |
| endRadius * | number | Ending distance (px) from center to each finger. Smaller than startRadius = pinch/zoom-out, larger = spread/zoom-in |
| method | string | Injection method: 'auto' (sendevent if root, else swipe), 'swipe' (parallel swipes, universal), 'sendevent' (raw MT protocol, requires root) |
| startRadius * | number | Starting distance (px) from center to each finger |
| steps | number | Interpolation steps for sendevent method (5-60, default 20). More steps = smoother gesture |
adb_input_textType text on the device. Handles special characters by converting spaces to %s and escaping shell metacharacters. For multi-line or complex text, consider using the clipboard tool instead.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| text * | string | Text to type on the device |
adb_installInstall APK with replace/downgrade options| Parameter | Type | Description |
|---|---|---|
| apkPath * | string | Local filesystem path to the APK file |
| device | string | Device serial |
| downgrade | boolean | Allow version downgrade (-d flag) |
| replace | boolean | Replace existing app (-r flag) |
adb_install_bundleInstall split APKs (app bundles) via `install-multiple` with replace and downgrade options| Parameter | Type | Description |
|---|---|---|
| allowDowngrade | boolean | Allow version downgrade (-d) |
| apkPaths * | array | Array of local paths to split APK files (base + config splits) |
| device | string | Device serial |
| replace | boolean | Replace existing app (-r) |
adb_list_packagesList packages filtered by name or type (all/system/third-party)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| filter | string | Filter packages containing this string |
| type | string | Show all, system-only, or third-party-only packages |
adb_list_permissionsList all declared and granted permissions for a package, filterable by granted/denied| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| filter | string | Show all permissions, only granted, or only denied (default: all) |
| packageName * | string | Package name (e.g., 'com.example.app') |
adb_list_splitsShow all APK split paths for a package with classification (base, config.density, config.language, etc.) and total size| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name (e.g., 'com.example.app') |
adb_locationSet location mode (off/sensors/battery/high)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| mode * | string | Location mode: off, sensors (GPS only), battery (network only), high (GPS + network) |
adb_logcatFiltered logcat snapshot with tag, priority, grep, and buffer selection| Parameter | Type | Description |
|---|---|---|
| buffer | string | Logcat buffer to read from |
| device | string | Device serial |
| grep | string | Grep filter applied to output (literal string match, case-insensitive) |
| lines | number | Number of recent lines to capture (1-10000) |
| priority | string | Minimum priority: V(erbose), D(ebug), I(nfo), W(arn), E(rror), F(atal) |
| tag | string | Filter by tag (e.g., 'ActivityManager' or 'MyApp') |
adb_logcat_clearClear all logcat buffers| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_logcat_crashCrash buffer log snapshot| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| lines | number | Number of lines (1-10000) |
adb_logcat_pollRetrieve new lines since last poll from a running watcher| Parameter | Type | Description |
|---|---|---|
| maxLines | number | Max lines to return per poll (1-10000) |
| session * | string | Session ID from adb_logcat_start (e.g., 'watch_1') |
adb_logcat_sessionsList all active watcher sessions with statsadb_logcat_startStart a background logcat watcher with ring buffer accumulation| Parameter | Type | Description |
|---|---|---|
| bufferSize | number | Max lines to keep in ring buffer (100-50000, default 2000) |
| device | string | Device serial |
| priority | string | Minimum priority level |
| tag | string | Filter by tag (e.g., 'MyApp'). Must match /^[a-zA-Z0-9_]+$/ — Android tags are identifier-shaped in practice. |
adb_logcat_stopStop a watcher session (or all sessions)| Parameter | Type | Description |
|---|---|---|
| session * | string | Session ID to stop (e.g., 'watch_1'), or 'all' to stop all |
adb_lsList device directory contents (simple or detailed)| Parameter | Type | Description |
|---|---|---|
| details | boolean | Show detailed listing (ls -la) |
| device | string | Device serial |
| path | string | Directory path on device |
adb_market_exportPackage a local workflow with marketplace metadata (author, version, tags, SHA-256) and generate a registry manifest entry for sharing| Parameter | Type | Description |
|---|---|---|
| author | string | Author name to include in metadata |
| tags | array | Tags for discovery (e.g., ['testing', 'diagnostics']) |
| version | string | Version string (semver-style, e.g., '1.2.3'). Defaults to '1.0.0' if omitted. Increment when publishing an updated workflow so registry consumers can detect changes. |
| workflow * | string | Name of the local workflow to export (from adb_workflow_list) |
adb_market_installDownload, validate (JSON structure + SHA-256 integrity), and install a marketplace workflow for immediate use with adb_workflow_run| Parameter | Type | Description |
|---|---|---|
| force | boolean | Overwrite if a workflow with this name already exists locally |
| name * | string | Workflow name from the marketplace |
adb_market_searchSearch the workflow marketplace for community-shared workflow definitions with keyword and tag filtering. Shows install status| Parameter | Type | Description |
|---|---|---|
| query | string | Filter by name, description, or tag keyword |
| tag | string | Filter by exact tag (e.g., 'testing', 'diagnostics', 'security') |
adb_mirror_startStart live screen mirroring via scrcpy. Supports windowed and headless modes, recording, bitrate/FPS/resolution control, stay-awake, and screen-off| Parameter | Type | Description |
|---|---|---|
| bitrate | string | Video bitrate (e.g., '4M', '8M', '2M'). AK2 fix: format-validated at schema layer. |
| device | string | Device serial |
| headless | boolean | No-display mode — useful with recording. Omits the scrcpy window. |
| maxFps | number | Maximum frame rate (1-120, default 30) |
| maxSize | number | Max dimension in pixels (0 = no limit, max 4096) |
| record | string | Record to a local file path (e.g., 'mirror.mp4') |
| stayAwake | boolean | Keep device awake while mirroring |
| turnScreenOff | boolean | Turn device screen off during mirroring (saves battery) |
adb_mirror_statusCheck scrcpy availability and list active mirroring sessionsadb_mirror_stopStop mirroring for a device or all devices| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (stops that device's session). Omit to stop all. |
adb_mkdirCreate directories with parent creation (-p), hard-blocked kernel paths| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| parents | boolean | Create parent directories as needed (-p flag, default true) |
| path * | string | Directory path to create |
| root | boolean | Use root shell for protected paths |
adb_mobile_dataEnable or disable mobile data| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| enabled * | boolean | true = enable mobile data, false = disable |
adb_modem_logsRIL radio buffer, telephony framework, RILJ/RILC, kernel dmesg (root) modem logs| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| grep | string | Additional grep filter applied to all sources |
| lines | number | Max lines per log source (1-5000, default 200) |
adb_multi_compareRun a command on all devices and highlight output differences| Parameter | Type | Description |
|---|---|---|
| command * | string | Shell command to compare across devices |
| devices | array | Device serials (omit for all online devices) |
adb_multi_installInstall an APK across multiple devices simultaneously| Parameter | Type | Description |
|---|---|---|
| apkPath * | string | Local filesystem path to the APK file |
| devices | array | Device serials (omit for all online devices) |
| replace | boolean | Replace existing app (-r) |
adb_multi_shellExecute a command on all/selected devices in parallel (security-checked)| Parameter | Type | Description |
|---|---|---|
| command * | string | Shell command to execute on each device |
| devices | array | Device serials to target (omit for all online devices) |
| timeout | number | Timeout per device in milliseconds (1s-10min) |
adb_multi_testComparative test workflow: run predefined diagnostic profiles (firmware/security/network/identity/full) or custom command lists across all devices including QEMU guests, compare per-check, report matches and differences| Parameter | Type | Description |
|---|---|---|
| commands | array | Human-readable label for this check |
| devices | array | Device serials to target (omit for all online devices) |
| profile | string | Predefined test profile to run. 'full' runs all profiles. |
| timeout | number | Timeout per command per device in ms (1s-60s, default 10s) |
adb_neighboring_cellsAll visible LTE/5G/WCDMA/GSM cells with identities and signal strengths| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_networkWiFi, cellular, and IP connectivity (parallel query)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_network_auto_connectOne-step discover + connect: scans for ADB devices and automatically runs adb connect on each found listener| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (used to determine local subnet for ARP-based discovery) |
| ipRange | string | IP range to scan (e.g., '192.168.1.1-254') |
| port | number | ADB port to probe and connect (1-65535, default 5555) |
adb_network_connectionsShow active TCP/UDP connections (ss/netstat with /proc/net fallback)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| protocol | string | Filter by protocol |
adb_network_device_ipGet the WiFi IP of a connected device via multiple methods. Shows ADB TCP status and wireless connection instructions| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_network_scanScan the local network for ADB-enabled devices via ARP table and optional IP range sweep. Probes ports 5555-5558 with batched parallel TCP probes| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (used to determine the local subnet if no ipRange given) |
| ipRange | string | IP range to scan (e.g., '192.168.1.1-254'). If omitted, scans hosts from the ARP table only. |
| ports | array | Custom ports to probe (default: [5555, 5554, 5556, 5557, 5558], max 20) |
| timeoutMs | number | Connection timeout per host in ms (500-10000, default 2000) |
adb_nfc_firmwareNFC controller firmware: controller type (NXP/Broadcom/Samsung/ST), firmware version, supported technologies (NFC-A/B/F/V, MIFARE), secure element (eSE/UICC), HCE support| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| maxLines | number | Lines of dumpsys output to inspect (50-2000, default 200). Raise for verbose vendor builds. |
adb_notificationsParse active notifications with package, title, text, importance, channel, flags, and timestamp (filterable by package)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| filter | string | Filter by package name (partial match, case-insensitive) |
| maxResults | number | Maximum notifications to return (1-50, default 20) |
adb_open_urlOpen a URL on the device in the default browser or handling app. Uses Android's VIEW intent action.| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_orientationGet or set screen orientation. Can lock to portrait, landscape, reverse portrait, reverse landscape, or restore auto-rotate.| Parameter | Type | Description |
|---|---|---|
| action * | string | 'get' to read current orientation, 'set' to change it |
| device | string | Device serial |
| orientation | string | Orientation to set (required when action='set'): auto=sensor, portrait=0°, landscape=90°, reverse_portrait=180°, reverse_landscape=270° |
adb_ota_checkCompare current system state against a saved fingerprint to detect OTA updates. Identifies changed fields and recommends re-baselining| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| fingerprintPath | string | Path to saved fingerprint JSON. If omitted, compares against the most recent fingerprint for this device. |
adb_ota_fingerprintCapture system fingerprint: build ID, Android version, security patch, bootloader, baseband firmware, kernel, A/B slot| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| label | string | Label for this fingerprint (e.g., 'pre-update', 'post-ota') |
adb_ota_historyList all saved fingerprints for a device with version progression over time| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (filters to this device). Omit for all devices. |
adb_package_infoDetailed package info (version, permissions, paths)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name (e.g., 'com.example.app') |
adb_pairPair with device over WiFi using pairing code| Parameter | Type | Description |
|---|---|---|
| code * | string | 6-digit pairing code shown on the device |
adb_perf_snapshotParallel memory, frame stats, and CPU profiling for a package| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name to profile (e.g., 'com.example.app') |
adb_permission_auditAudit runtime permission grants for a package grouped by dangerous permission category (Camera, Location, Phone, SMS, etc.). Flags high-sensitivity grants| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name to audit (e.g., 'com.example.app'). AZ7 fix: enforces Java-identifier shape so injection attempts are rejected at the schema layer before reaching validateShellArg. |
adb_plugin_infoPlugin system documentation and example plugin formatadb_plugin_listList all loaded plugins with paths and load timesadb_profile_detectAuto-detect and build a device profile: hardware ID, chipset family, modem nodes, root status, 5G support, dual SIM configuration. Matches against built-in library for known quirks| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| save | boolean | Automatically save the detected profile |
adb_profile_listList built-in and user-saved device profilesadb_profile_saveSave a device profile to the profiles library| Parameter | Type | Description |
|---|---|---|
| name * | string | Profile name (used as filename) |
| profile * | string | Profile JSON string (from adb_profile_detect output or manually composed) |
adb_pullPull file from device to local filesystem| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| localPath | string | Local destination (defaults to temp dir) |
| remotePath * | string | File path on the device |
adb_pushPush local file to device (hard-blocked kernel paths, fs-type awareness, storage reporting)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| localPath * | string | Local file path to push |
| remotePath * | string | Destination path on device |
adb_qemu_connectConnect to a running VM's guest ADB service. Restricted to localhost only — port derived from running VM state, never user input. Enables multi-device tools to operate on guest VMs| Parameter | Type | Description |
|---|---|---|
| name * | string | VM name to connect to (must be running) |
| timeout | number | Connection timeout in milliseconds (3s-30s). Default 10s. |
adb_qemu_disconnectDisconnect from a guest VM's ADB service. Clears connection state and removes guest from device list| Parameter | Type | Description |
|---|---|---|
| name * | string | VM name to disconnect from |
adb_qemu_guest_shellExecute shell commands on a guest VM via ADB. Subject to security middleware. Guest serial derived internally — no user-supplied host/IP reaches the ADB binary| Parameter | Type | Description |
|---|---|---|
| command * | string | Shell command to execute on the guest |
| name * | string | VM name (must be connected via adb_qemu_connect) |
| timeout | number | Command timeout in milliseconds (1s-60s). Default 15s. |
adb_qemu_imagesManage VM disk images: list, create (qcow2/raw), delete. Path containment verification prevents traversal| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform |
| format | string | Image format. qcow2 is recommended (sparse, snapshots). raw for maximum I/O performance. |
| name | string | Image name (for create/delete). Alphanumeric, hyphens, underscores only. |
| sizeMb | number | Image size in MB (for create). Default 8192 (8GB). Range: 64-65536. |
adb_qemu_setupCheck and install QEMU for on-device virtualization. Verifies KVM, reports host CPU/RAM, installs via Termux pkg| Parameter | Type | Description |
|---|---|---|
| install | boolean | If true, install QEMU via pkg if not already present |
adb_qemu_startBoot a KVM-accelerated VM with dynamic resource allocation. Auto-detects optimal CPUs (total minus 1, reserving one for host) and memory (65% of physical RAM). Supports kernel/initrd/append for Android boot, ADB port forwarding| Parameter | Type | Description |
|---|---|---|
| adbPort | number | Host port to forward to guest ADB (port 5555). Default 5556. |
| append | string | Kernel command line arguments (for Android boot). |
| cpus | number | Virtual CPUs. Auto-detected if omitted (total cores minus 1). Capped at safe limit. |
| display | string | Display output. 'none' for headless (default). 'vnc' starts a VNC server on port 5900. |
| image * | string | Disk image filename (from adb_qemu_images) or absolute path |
| initrd | string | Path to initrd/ramdisk image (for Android boot). |
| kernel | string | Path to kernel image (for Android boot). If omitted, QEMU uses the disk image's bootloader. |
| memoryMb | number | RAM in MB. Auto-detected if omitted (65% of physical RAM). Capped at safe limit. |
| name * | string | VM name (used to track and stop the VM) |
adb_qemu_statusFull status: KVM/QEMU availability, host resource budget, running VMs with PID/resources/uptime/ports/ADB connection state, image inventoryadb_qemu_stopStop a running VM (graceful SIGTERM or force SIGKILL). Auto-disconnects guest ADB before killing. Reports running VMs if no name given| Parameter | Type | Description |
|---|---|---|
| force | boolean | Use SIGKILL instead of SIGTERM for immediate termination. |
| name | string | VM name to stop. If omitted, lists running VMs. |
adb_rebootReboot device (normal, recovery, or bootloader mode)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| mode | string | Reboot mode: normal (default), recovery, or bootloader |
adb_registry_installDownload and install a plugin from the registry by name| Parameter | Type | Description |
|---|---|---|
| force | boolean | Overwrite if already installed |
| name * | string | Plugin name from the registry |
adb_registry_installedList locally installed plugins with version and update availabilityadb_registry_searchSearch the community plugin registry, shows install status and available updates| Parameter | Type | Description |
|---|---|---|
| query | string | Filter plugins by name or description keyword |
adb_regression_baselineCapture performance baseline (memory, CPU, frame stats, battery, network) to JSON| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| label | string | Label for this baseline (e.g., 'before-refactor', 'v2.5.0') |
| packageName * | string | Package name to profile |
adb_regression_checkCompare current performance against a saved baseline with configurable regression thresholds| Parameter | Type | Description |
|---|---|---|
| baselinePath * | string | Path to the saved baseline JSON file |
| cpuThreshold | number | CPU regression threshold in percent (0-1000, default 50%) |
| device | string | Device serial |
| jankThreshold | number | Jank rate regression threshold in percent (0-1000, default 25%) |
| memoryThreshold | number | Memory regression threshold in percent (0-1000, default 20%) |
adb_regression_historyList all saved baselines with trends, optionally filtered by package| Parameter | Type | Description |
|---|---|---|
| packageName | string | Filter by package name |
adb_resolve_intentsDiscover registered activities, services, and receivers with intent filters| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name to query |
adb_restart_appForce-stop then re-launch in one call (configurable delay)| Parameter | Type | Description |
|---|---|---|
| delayMs | number | Delay between stop and start in ms (0-10000, default 500) |
| device | string | Device serial |
| packageName * | string | Package name (e.g., 'com.example.app') |
adb_result_dropDelete a stored result handle, or clear all handles in the current namespace. Pass both `tool` and `name` to drop one specific handle, or `all: true` to drop everything. Useful before changing DA_AUTH_TOKEN (which would otherwise leave orphans under the old token-hash directory)| Parameter | Type | Description |
|---|---|---|
| all | boolean | If true, delete every handle in this namespace. tool/name must be omitted when all=true. |
| name | string | Handle name (required unless all=true) |
| tool | string | Source tool name (required unless all=true) |
adb_result_getRetrieve the content of a stored handle by tool + name. Returns the original content blocks as the source tool produced them; updates last-accessed time. For URI-based retrieval, use the `result://{tool}/{name}` MCP Resource instead| Parameter | Type | Description |
|---|---|---|
| name * | string | Handle name supplied at storage time (e.g., 'initial') |
| tool * | string | Source tool name (the tool that originally stored the handle, e.g., 'bugreport') |
adb_result_listList active result handles in the tempdir-backed cache. Shows tool, name, size, age, and remaining TTL for each handleadb_reverseReverse-forward a device port to the host (device → host)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| local * | string | Local (host) spec, e.g., 'tcp:3000'. AF2 fix: format-validated. |
| remote * | string | Remote (device) spec, e.g., 'tcp:3000'. AF2 fix: format-validated. |
adb_reverse_removeRemove a reverse forward or all reverse forwards| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| remote | string | Remote spec to remove (e.g., 'tcp:3000'). Omit to remove all reverse forwards. AF2 fix: format-validated. |
adb_revoke_permissionRevoke a runtime permission from a package (reset permission state for testing denial flows)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name (e.g., 'com.example.app') |
| permission * | string | Full permission string (e.g., 'android.permission.CAMERA') |
adb_ril_pollRetrieve captured RIL messages with optional category filtering. Shows category distribution| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category: registration, cell_info, signal, network, security, handover, data, radio_state, sms, nas, other |
| maxMessages | number | Max messages to return per poll (1-10000) |
| raw | boolean | Return raw logcat lines instead of parsed messages |
| session * | string | Session ID from adb_ril_start (e.g., 'ril_1') |
adb_ril_startStart capturing RIL messages from the radio logcat buffer. Categorizes registration, cell info, signal, network, security, handover, and NAS events| Parameter | Type | Description |
|---|---|---|
| bufferSize | number | Max messages to keep in ring buffer (100-50000, default 5000) |
| device | string | Device serial |
| includeKernel | boolean | Also capture from main and kernel logcat buffers for modem framework and kernel-level radio messages |
adb_ril_stopStop a RIL capture session with category summary| Parameter | Type | Description |
|---|---|---|
| session * | string | Session ID to stop (e.g., 'ril_1'), or 'all' to stop all |
adb_rmDelete files/directories with depth-based recursive protection and symlink resolution| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| path * | string | File or directory path to delete |
| recursive | boolean | Delete directory recursively (-rf). Depth-protected. |
| root | boolean | Use root shell for protected paths |
adb_root_shellExecute commands as root via su (requires rooted device, security-checked)| Parameter | Type | Description |
|---|---|---|
| command * | string | Command to run as root |
| device | string | Device serial |
adb_runtime_auditUnified read-only readiness audit for transport, Android userspace, root, SELinux, storage, command capabilities, UI/network diagnostics, SQLite, modem nodes, and Wear prerequisites| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial to audit |
adb_screenWake, sleep, toggle, lock, or unlock the screen. Lock verifies keyguard state via `dumpsys window`. Unlock uses `wm dismiss-keyguard` (works for swipe keyguards); supply `pin` to perform the full PIN entry sequence: wakes screen, swipes up to reveal keypad, types PIN, confirms, and verifies the keyguard sleep token was released| Parameter | Type | Description |
|---|---|---|
| action * | string | Screen action — one of: wake (power on + dismiss keyguard if no PIN), sleep (power off), toggle (flip current state), lock (force keyguard), unlock (dismiss keyguard, with PIN if supplied) |
| device | string | Device serial |
| pin | string | PIN/password to enter when unlock encounters an active keyguard (digits only for PIN, alphanumeric for password). Only used with action='unlock'. |
adb_screen_sizeScreen resolution, display density (DPI), aspect ratio, and DP width in one call| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_screen_stateCombined screen state in one call: foreground activity, screen dimensions and density, orientation, battery level, and a TSV list of interactive elements. Replaces 3–4 separate tool calls| Parameter | Type | Description |
|---|---|---|
| clickableOnly | boolean | Only include clickable/scrollable elements in TSV output (default true) |
| device | string | Device serial |
adb_screencapTake screenshot with filename sanitization, saves locally| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| filename | string | Output filename (default: screenshot_<timestamp>.png) |
adb_screencap_annotatedScreenshot with UI element bounding boxes and numbered labels composited onto the PNG. Returns annotated image path plus a text legend. Ideal for LLM workflows that reference elements by number| Parameter | Type | Description |
|---|---|---|
| clickableOnly | boolean | Only annotate clickable/scrollable elements (default true — reduces visual noise) |
| device | string | Device serial |
| filename | string | Output filename (default: annotated_<timestamp>.png) |
adb_screenrecord_startStart recording the device screen (1-180s, stored on device)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| maxDuration | number | Maximum recording duration in seconds (1-180, default 60) |
adb_screenrecord_stopStop recording and pull the mp4 video file locally| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_screenshot_baselineCapture and save a named screenshot baseline with metadata (dimensions, SHA-256, timestamp)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| name * | string | Baseline name (e.g., 'home_screen', 'login_page', 'threat_alert') |
adb_screenshot_compressedTake a screenshot and pull the full-resolution PNG, plus metadata for client-side compression. Returns local file path, dimensions, file size, and a ready-to-run imagemagick command for converting to a smaller JPEG. (Android doesn't ship imagemagick, so the actual compression is post-processing — this tool sets up everything you need.)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| filename | string | Output filename (default: screenshot_compressed_<timestamp>.jpg) |
| quality | number | JPEG quality (10-100, default 50). Lower = smaller file, more artifacts |
| scale | number | Scale factor (0.1-1.0, default 0.5). 0.5 = half resolution |
adb_screenshot_diffCompare current screen against a saved baseline using pixel-level PNG decoding. Reports changed pixel count/percentage, bounding box of changed region, and supports a tolerance threshold for absorbing dynamic elements like clocks| Parameter | Type | Description |
|---|---|---|
| baseline * | string | Baseline name to compare against (from adb_screenshot_baseline) |
| device | string | Device serial |
| tolerancePercent | number | Pixel difference percentage threshold below which the result reports IDENTICAL. 0 = exact match required. 1-2 absorbs clock/status bar changes. |
adb_screenshot_historyList all saved screenshot baselines with metadataadb_scroll_untilScroll the screen repeatedly until a target element is found. Performs a swipe gesture, then checks the UI hierarchy for the target. Repeats until found or max iterations reached. Useful for finding elements in long lists or scrollable content.| Parameter | Type | Description |
|---|---|---|
| contentDesc | string | Match elements with this content-description (partial, case-insensitive) |
| device | string | Device serial |
| direction | string | Scroll direction (default 'down' = content moves up, revealing lower items) |
| maxScrolls | number | Maximum scroll attempts (1-50, default 10) |
| resourceId | string | Match elements with this resource-id (partial match) |
| tapWhenFound | boolean | Automatically tap the element when found |
| text | string | Match elements containing this text (case-insensitive) |
adb_selinux_denialsList recent AVC denial messages with parsed source/target contexts, permission classes, and denied operations. Supports process filtering| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| lines | number | Max denial entries to return (1-1000, default 50) |
| process | string | Filter denials by process/source context name |
adb_selinux_statusSELinux enforcement mode, policy version, shell context, recent AVC denial count. Root provides kernel dmesg denial stats| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_sensor_readRead hardware sensor inventory and last-known values via dumpsys sensorservice. Enumerates vendor, type, mode, rate range, and wake capability, including Android's zero-handle sensors. Returns timestamps and axis-labeled formatting when recent events exist; inactive sensors are identified explicitly. This is passive inspection, not a request to start sensor sampling. Category filter (13 categories) and listOnly discovery mode. No root required| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by sensor category: all, accelerometer, gyroscope, magnetometer, light, barometer, proximity, gravity, linear_accel, rotation, orientation, motion, step, temperature |
| device | string | Device serial |
| listOnly | boolean | If true, list available sensors without reading values (faster, useful for discovery) |
adb_settings_getRead any Android setting from system/secure/global namespace| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| key * | string | Setting key (e.g., 'screen_brightness', 'location_mode', 'airplane_mode_on') |
| namespace * | string | Settings namespace |
adb_settings_putWrite any Android setting with read-back verification| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| key * | string | Setting key (e.g., 'screen_brightness' for system namespace, 'wifi_on' or 'airplane_mode_on' for global, 'location_providers_allowed' for secure). Use `adb_shell` with `settings list <namespace>` to enumerate available keys for a device. |
| namespace * | string | Settings namespace |
| value * | string | Value to write. Type depends on the key — typically a string, integer, or 0/1 for booleans. The setting framework accepts everything as a string and parses on read. |
adb_shannon_sessionCheck Shannon/Exynos chipset detection, root, character-device modem ports, and a benign `AT`/`OK` handshake together; supports Google Tensor's `/dev/umts_router`, re-arms bounded CPIF reads until a terminal result, optionally sends read-only `ATI`, and never sends a modem configuration command| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| includeIdentity | boolean | After a successful AT handshake, also send the read-only ATI identity query |
| port | string | Optional Shannon device node override (for example /dev/umts_router) |
| timeout | number | Handshake timeout per port in milliseconds (1000-10000, default 3000) |
adb_shellExecute arbitrary shell commands with configurable timeout (security-checked)| Parameter | Type | Description |
|---|---|---|
| command * | string | Shell command to execute on the device |
| device | string | Device serial |
| timeout | number | Timeout in milliseconds (1s-10min) |
adb_signal_detailRSRP, RSRQ, SINR, RSSI, timing advance — raw radio measurements for signal analysis| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_snapshot_captureSave comprehensive device state (packages, settings, properties) to JSON| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| name | string | Snapshot name (default: auto-generated timestamp) |
adb_snapshot_compareDiff current state against a saved snapshot (added/removed packages, changed settings)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| snapshotPath * | string | Path to the saved snapshot JSON file |
adb_snapshot_restore_settingsRestore global/secure settings from a saved snapshot| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| namespace | string | Which settings namespace to restore |
| snapshotPath * | string | Path to the saved snapshot JSON file |
adb_sqlite_inspectPackage-scoped listing, schema inspection and validated read-only SQL. Prefers `run-as`, falls back to root, rejects linked directories/files and verifies opened descriptors. Queries a private snapshot (database + WAL ≤64 MiB) with bounded execution and output, then removes it. Host inspection needs Node 22.16+ and runs in an isolated process; on-device inspection uses a trusted `sqlite3` binary. Neither backend queries the live app path. Snapshots are not transactional backups; concurrent writes may require retrying with the app stopped.| Parameter | Type | Description |
|---|---|---|
| access | string | Access method. auto prefers run-as and falls back to root. |
| action | string | List databases, show sqlite_master schema, or run a read-only query |
| database | string | Database filename inside the package databases directory (no path separators) |
| device | string | Device serial |
| maxRows | number | Maximum rows returned for SELECT/WITH queries (1-1000, default 100) |
| packageName * | string | Installed Android package whose databases directory may be inspected |
| query | string | One read-only SELECT, WITH, EXPLAIN, or allowlisted PRAGMA statement |
adb_start_activityLaunch activities by intent or component name| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| intent * | string | Intent or component (e.g., 'com.example/.MainActivity' or '-a android.intent.action.VIEW -d https://example.com') |
adb_start_appLaunch an app by package name (resolves launcher activity)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name (e.g., 'com.example.app') |
adb_tap_elementFind a UI element by text, resource-id, or content-description, then tap its center. Combines UI hierarchy search with input tap in one atomic operation. More reliable than coordinate-based taps for dynamic layouts.| Parameter | Type | Description |
|---|---|---|
| contentDesc | string | Match elements with this content-description (partial, case-insensitive) |
| device | string | Device serial |
| index | number | Which match to tap if multiple found (0 = first match, default) |
| resourceId | string | Match elements with this resource-id (partial match) |
| text | string | Match elements containing this text (case-insensitive) |
adb_tcpdump_startStart background packet capture via tcpdump (requires root)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| filter | string | tcpdump filter expression (e.g., 'port 443', 'host 10.0.0.1') |
| interface | string | Network interface to capture (default: 'any') |
| maxPackets | number | Stop after N packets (1-1000000, omit for continuous until stop) |
adb_tcpdump_stopStop capture and pull pcap file locally for Wireshark analysis| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_tcpipSwitch USB device to TCP/IP mode (auto-detects device IP)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial (must be USB-connected) |
| port | number | TCP port for ADB (1-65535, default 5555) |
adb_telephonyCell info, signal strength, and network registration (parallel query)| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
adb_test_gen_from_intentsAnalyze a package's registered activities and generate a workflow that launches each exported activity with crash detection| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name to analyze |
adb_test_gen_from_uiAnalyze the current screen's interactive elements and generate a workflow that taps each one, screenshots, and checks for crashes| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| packageName * | string | Package name to monitor during test (used for logcat filtering and crash detection) |
| returnToStart | boolean | Press Back after each tap to return to the starting screen |
| screenshotAfterEach | boolean | Take a screenshot after each tap |
adb_test_gen_saveSave a generated workflow JSON to the workflows directory for later execution| Parameter | Type | Description |
|---|---|---|
| name * | string | Workflow name (used as filename) |
| workflow * | string | Workflow JSON string to save |
adb_test_session_endEnd session, write summary manifest, return directory pathadb_test_session_startStart a named test session with organized output directory| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| name * | string | Test session name (e.g., 'login_flow', 'threat_detection') |
adb_test_stepCapture a numbered step with screenshot and logcat into the session| Parameter | Type | Description |
|---|---|---|
| captureLogcat | boolean | Capture logcat since last step |
| captureScreenshot | boolean | Take a screenshot for this step |
| description * | string | Description of what this step tests or verifies |
adb_thermal_compareCompare current thermal state against a saved baseline with per-zone temperature deltas and battery current changes| Parameter | Type | Description |
|---|---|---|
| baselinePath | string | Path to baseline JSON. If omitted, uses the most recent baseline for the device. |
| device | string | Device serial |
adb_thermal_snapshotCapture all thermal zone temperatures, per-CPU frequencies/governors, cooling device states, battery temperature/current/voltage/power draw. Optional save as JSON baseline| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| label | string | Label for saved baseline |
| save | boolean | Save snapshot as a baseline JSON file |
adb_topCPU and memory usage snapshot| Parameter | Type | Description |
|---|---|---|
| count | number | Number of iterations (1-100, 1 = snapshot) |
| device | string | Device serial |
adb_tunnel_closeClose a managed tunnel by ID, or close all at once with id="all"| Parameter | Type | Description |
|---|---|---|
| id * | string | Tunnel ID (tun_XXXXXX) returned by adb_tunnel_open, or the literal string 'all' to close every managed tunnel. |
adb_tunnel_listList active managed tunnels (those opened via adb_tunnel_open). Optional device filter; shows ID, direction, endpoints, and age| Parameter | Type | Description |
|---|---|---|
| device | string | Filter to a specific device serial (default: all devices) |
adb_tunnel_openOpen a managed tunnel with opaque ID. Auto-picks a free host port for forward direction when omitted; registers cleanup so the tunnel is removed on server exit| Parameter | Type | Description |
|---|---|---|
| device | string | Device serial |
| deviceSpec * | string | Device-side spec, e.g., 'tcp:3000' or 'localabstract:app_socket' |
| direction * | string | 'forward' (host → device) or 'reverse' (device → host) |
| hostSpec | string | Host-side spec, e.g., 'tcp:8080'. For 'forward' direction: omit to auto-pick a free host port. For 'reverse' direction: required (can't auto-pick device-side ports without an extra probe call). |
adb_ui_dumpDump full UI hierarchy. Supports three output formats: `text` (default, human-readable), `tsv` (compact tab-separated for token-efficient automation loops), `xml` (raw uiautomator XML)| Parameter | Type | Description |
|---|---|---|
| clickableOnly | boolean | Only show clickable/interactive elements |
| device | string | Device serial |
| format | string | Output format: 'text' (default, human-readable), 'tsv' (tab-separated, token-efficient), 'xml' (raw uiautomator XML) |
adb_ui_findSearch UI hierarchy by text, resource-id, or content-description (returns tap coordinates)| Parameter | Type | Description |
|---|---|---|
| contentDesc | string | Match elements with this content-description (partial, case-insensitive) |
| device | string | Device serial |
| resourceId | string | Match elements with this resource-id (partial match) |
| text | string | Match elements containing this text (case-insensitive) |
The first 200 of 211 tools, in name order.
Security checks
- ✓README presentThe repository's README runs to about 8.3K words.
5 checks have not been run yet.
README
The repository's README runs to about 8.3K words. The original in the repository is authoritative.
Read full README