io.github.fullread/deepadb
NPM · DEEPADB · SCANNED AUG 3
Full-featured ADB MCP server — 204 tools across 45 modules, from UI to baseband.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security86
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 65 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability84
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (good).Pass
- Tool/resource definitions use about 19081 tokens (~93/item across 205 items; 204 tools + 1 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
- Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · deepadb
claude mcp add fullread-deepadb -- npx -y deepadb
codex mcp add fullread-deepadb -- npx -y deepadb
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"fullread-deepadb": {
"type": "local",
"command": [
"npx",
"-y",
"deepadb"
],
"enabled": true
}
}
} openclaw mcp add fullread-deepadb --command npx --arg -y --arg deepadb
mcp_servers:
fullread-deepadb:
command: "npx"
args: ["-y", "deepadb"] {
"mcpServers": {
"fullread-deepadb": {
"command": "npx",
"args": [
"-y",
"deepadb"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.
- 2 Aug 26 +18
- Provenance: unverified → fail ▼ security
- Known CVEs: unverified → partial ▲ security
- Install scripts: unverified → pass ▲ security
- Maintenance: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Stability: unverified → 0.23 ▲ functional
- License: unverified → pass ▲ functional
- Licence: Apache-2.0 functional
- 31 Jul 26 +10
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 −40
- Install scripts: pass → unverified ▼ security
- Known CVEs: partial → unverified ▼ security
- Malware scan: pass → unverified ▼ security
- Provenance: fail → unverified ▼ security
- License: pass → unverified ▼ functional
- Dependency health: partial → unverified ▼ functional
- Maintenance: pass → unverified ▼ functional
- Licence: Apache-2.0 functional
- 28 Jul 26 +57
- Provenance: unverified → fail ▼ security
- Install scripts: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- Tool coverage: unverified → 100 ▲ functional
- Maintenance: unverified → pass ▲ functional
- Schema quality: unverified → 100 ▲ functional
- License: unverified → pass ▲ functional
- First check of Schema quality: good functional
- First check of Schema quality: pass functional
- First check of Tool coverage: 100 functional
- First check of Schema quality: fail functional
- Licence: Apache-2.0 functional
- 27 Jul 26 25
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
Dependencies 94 packages
94 packages in the resolved dependency tree · 94 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
adb_a11y_audit ~74
Run an automated accessibility audit on the current screen. Checks for: missing labels on interactive elements, undersized touch targets (<48dp), images without content-descriptions, clickable elements missing focusability, and duplicate descriptions. Returns a structured report with severity and rule violations.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_a11y_touch_targets ~68
List all interactive elements with their touch target dimensions in dp. Highlights elements below the 48dp minimum. Useful for quickly identifying cramped UI layouts.
| Name | Type | Req | Description |
|---|---|---|---|
| belowMinOnly | boolean | — | Only show elements below the 48dp minimum |
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_a11y_tree ~55
Dump the accessibility-focused view of the UI hierarchy. Shows only elements relevant to screen readers: their roles, labels, states, and navigation order. Filters out decorative/layout containers.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_airplane_cycle ~64
Cycle airplane mode on then off after a delay. Forces cellular re-registration — useful for radio diagnostics and network testing.
| Name | Type | Req | Description |
|---|---|---|---|
| delaySeconds | number | — | Seconds to keep airplane mode on (1-60, default 3) |
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_airplane_mode ~50
Toggle airplane mode on/off. Useful for resetting cellular registration during radio testing.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| enabled | boolean | yes | true = enable airplane mode, false = disable |
No output schema declared.
No examples provided.
adb_apex_list ~55
List installed APEX modules on the device. APEX (Android Pony EXpress) modules deliver updatable system components. Shows module name, version, and active/staged status.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_at_batch ~123
Send multiple AT commands sequentially and capture all responses. Useful for running a diagnostic sequence. Requires root.
| Name | Type | Req | Description |
|---|---|---|---|
| commands | array | yes | 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 |
No output schema declared.
No examples provided.
adb_at_cross_validate ~140
Cross-validate baseband firmware by comparing AT command responses (direct modem interrogation) against Android system properties (getprop). Discrepancies may indicate firmware tampering, incomplete OTA updates, or property spoofing. Sends ATI (identification), AT+CGMR (firmware revision), and AT+CGMM (model) to the modem and compares with gsm.version.baseband, ro.hardware.chipname, and related properties. Requires root.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| port | string | — | Modem device node (auto-detects if omitted) |
| timeout | number | — | Response timeout per command in ms |
No output schema declared.
No examples provided.
adb_at_detect ~62
Auto-detect the modem AT command device node. Identifies the chipset family (Shannon, Qualcomm, MediaTek, Unisoc) and probes known device node paths. Requires root. Returns the first responding node.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_at_probe ~62
Run a standard AT diagnostic probe: modem identification, signal quality, network registration, SIM status, and supported bands. Requires root.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| port | string | — | Modem device node (auto-detects if omitted) |
No output schema declared.
No examples provided.
adb_at_send ~143
Send a single AT command to the modem and capture the response. Requires root. Use adb_at_detect to find the correct port, or specify it manually.
| Name | Type | Req | Description |
|---|---|---|---|
| command | string | yes | 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_router0'). If omitted, auto-detects. |
| timeout | number | — | Response timeout in ms (1000-30000, default 5000) |
No output schema declared.
No examples provided.
adb_avd_list ~25
List all available Android Virtual Devices (AVDs) that can be started.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
adb_baseband_info ~193
Get comprehensive modem/baseband identification: firmware version, RIL implementation, chipset, IMEI, SIM state, and radio capabilities.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| includeImei | boolean | — | Include IMEI in output (sensitive permanent device identifier — opt-in only) |
| result_handle | string | — | Optional. If provided, store this tool's result under `result://<tool>/<name>` for retrieval after compaction. Name must be 1-32 chars, [a-zA-Z0-9_-]. Existing handles with the same tool+name are ove… |
| result_handle_ttl | integer | — | Optional. TTL in seconds for the result handle (60 to 604800). Default 43200 (12 hours). Ignored if result_handle is not provided. |
No output schema declared.
No examples provided.
adb_batch_actions ~141
Execute 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.
| Name | Type | Req | Description |
|---|---|---|---|
| actions | array | yes | Array of actions to execute (1-50) |
| delayMs | integer | — | Delay between actions in ms (0-5000, default 100) |
| device | string | — | Device serial |
| stopOnError | boolean | — | Stop execution if any action fails (default true) |
No output schema declared.
No examples provided.
adb_battery ~30
Get battery status, level, temperature, and charging info
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_battery_drain ~106
Measure battery drain rate over a specified duration. Takes initial and final readings and calculates mA draw, mW power consumption, and estimated percentage per hour. Useful for profiling power impact of specific operations.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| durationMs | number | — | Measurement duration in ms (3s-60s, default 10s) |
| packageName | string | — | If specified, show battery stats for this package (requires root for detailed stats) |
No output schema declared.
No examples provided.
adb_bluetooth_firmware ~123
Bluetooth firmware and chipset identification. Reports firmware version, BT version (4.x/5.x), chipset model, adapter state, supported profiles, LE capabilities, and bonded device count. MAC address and device name are opt-in only (permanent identifiers).
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| includeIdentifiers | boolean | — | Include Bluetooth MAC address and device name (permanent identifiers — opt-in only) |
| maxLines | integer | — | Lines of dumpsys output to inspect (50-2000, default 300). Raise for verbose vendor builds. |
No output schema declared.
No examples provided.
adb_bugreport ~42
Capture a full bug report zip (device state, logs, dumpsys, system info). Returns the local file path.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_build_and_install ~78
Build a debug APK and install it on the connected device (convenience wrapper)
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| projectPath | string | yes | Path to the Android project root |
| timeout | integer | — | Build+install timeout in milliseconds (30s-30min, default 5min). V5 fix. |
No output schema declared.
No examples provided.
adb_carrier_config ~40
Dump carrier configuration values. Useful for verifying carrier settings, detecting configuration anomalies, and inspecting APN configurations.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_cat ~53
Read a text file from the device
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| maxLines | number | — | Maximum lines to return (1-10000) |
| path | string | yes | File path on device |
No output schema declared.
No examples provided.
adb_cell_identity ~65
Extract detailed cell identity information: Cell ID (CID), TAC/LAC, EARFCN/ARFCN, Physical Cell ID (PCI), PLMN, and network type. Parses structured data from dumpsys for cellular network analysis.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_ci_device_ready ~50
Comprehensive CI readiness check. Verifies: device online, booted, package manager ready, screen unlocked, network available. Returns structured pass/fail results.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_ci_run_tests ~132
Run Android instrumented tests (androidTest) via `am instrument` and capture results. Returns structured pass/fail output.
| Name | Type | Req | 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 | yes | Test package (e.g., 'com.example.app.test') |
| timeout | number | — | Timeout in ms (10s-10min, default 5 min) |
No output schema declared.
No examples provided.
adb_ci_wait_boot ~68
Wait for a device or emulator to fully boot. Polls sys.boot_completed and waits for the launcher to be ready. Essential for CI pipelines.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| timeoutSeconds | number | — | Maximum time to wait for boot in seconds (default 120) |
No output schema declared.
No examples provided.
adb_clear_data ~123
Clear all data for a package (equivalent to clearing storage in settings). DESTRUCTIVE — irreversibly wipes all app data, cache, databases, shared preferences, and login state. AP5 fix: requires `confirm: <packageName>` to proceed.
| Name | Type | Req | 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 | yes | Package name (e.g., 'com.example.app') |
No output schema declared.
No examples provided.
adb_clipboard ~97
Read 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+.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | 'read' to get clipboard, 'write' to set it |
| device | string | — | Device serial |
| text | string | — | Text to write to clipboard (required when action='write') |
No output schema declared.
No examples provided.
adb_connect ~68
Connect to a device over WiFi/TCP. Device must be paired first or have TCP/IP enabled.
| Name | Type | Req | Description |
|---|---|---|---|
| host | string | yes | Device IP and port (e.g., '192.168.1.100:5555' or '192.168.1.100:41567') |
No output schema declared.
No examples provided.
adb_crash_logs ~99
Read ANR (Application Not Responding) traces and tombstone crash dumps from the device. Requires root access for /data/anr/ and /data/tombstones/. Returns the most recent entries.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| maxEntries | integer | — | Maximum entries to return per type (1-20, default 5) |
| type | string | — | Type of crash data to retrieve (default: both) |
No output schema declared.
No examples provided.
adb_current_activity ~27
Get the currently focused activity and window stack
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_device_info ~43
Get detailed properties for a connected device (model, OS version, build, etc.)
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial (auto-selects if only one connected) |
No output schema declared.
No examples provided.
adb_device_state ~61
Get a combined device state snapshot in one call: battery level/status, network connectivity, screen on/off, foreground activity, and orientation. Useful as a pre-check before UI automation or as a quick device health summary.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
No output schema declared.
No examples provided.
adb_devices ~23
List all connected Android devices with their state, model, and product info
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
adb_disconnect ~40
Disconnect from a wireless device, or all wireless devices if no host specified
| Name | Type | Req | Description |
|---|---|---|---|
| host | string | — | Device IP:port to disconnect (omit for all) |
No output schema declared.
No examples provided.
adb_dumpsys ~204
Run dumpsys for a specific service. Use 'list' as the service to see all available services.
| Name | Type | Req | Description |
|---|---|---|---|
| args | string | — | Additional arguments passed to dumpsys |
| device | string | — | Device serial |
| result_handle | string | — | Optional. If provided, store this tool's result under `result://<tool>/<name>` for retrieval after compaction. Name must be 1-32 chars, [a-zA-Z0-9_-]. Existing handles with the same tool+name are ove… |
| result_handle_ttl | integer | — | Optional. TTL in seconds for the result handle (60 to 604800). Default 43200 (12 hours). Ignored if result_handle is not provided. |
| service | string | yes | Service name (e.g., 'battery', 'telephony.registry', 'activity') or 'list' |
No output schema declared.
No examples provided.
adb_emulator_start ~89
Launch an Android Virtual Device (AVD) emulator. Returns once the emulator process has started.
| Name | Type | Req | Description |
|---|---|---|---|
| avdName | string | yes | 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) |
No output schema declared.
No examples provided.
adb_emulator_stop ~75
Stop a running emulator. Uses 'adb emu kill' for graceful shutdown.
| Name | Type | Req | Description |
|---|---|---|---|
| avdName | string | — | AVD name to stop. If omitted, lists running emulators. |
| device | string | — | Emulator device serial (e.g., 'emulator-5554') — alternative to avdName |
No output schema declared.
No examples provided.
adb_extract_apks ~74
Pull all APK splits for a package from the device to a local directory. Useful for analysis, backup, or transfer to another device.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| outputDir | string | — | Local output directory (default: temp dir) |
| packageName | string | yes | Package name to extract |
No output schema declared.
No examples provided.
adb_farm_matrix ~43
List available device models and API levels on Firebase Test Lab. Use to plan test matrices.
| Name | Type | Req | Description |
|---|---|---|---|
| type | string | — | List available device models or Android API versions |
No output schema declared.
No examples provided.
adb_farm_results ~69
Retrieve results from the most recent Firebase Test Lab run, or a specific test matrix ID. Shows pass/fail status, device results, and links to logs and artifacts.
| Name | Type | Req | Description |
|---|---|---|---|
| matrixId | string | — | Test matrix ID (from adb_farm_run output). Omit to list recent matrices. |
No output schema declared.
No examples provided.
adb_farm_run ~245
Run tests on Firebase Test Lab. Uploads an APK and test APK, executes instrumented tests across specified device models and API levels. Requires gcloud CLI authenticated with a Firebase project.
| Name | Type | Req | Description |
|---|---|---|---|
| appApk | string | yes | 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 | integer | — | 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 | yes | 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. |
No output schema declared.
No examples provided.
adb_file_checksum ~95
Compute SHA-256 hash of a file on the device. Critical for firmware integrity verification, tamper detection, and comparing files across devices. Read-only operation. Reports file size alongside the hash.
| Name | Type | Req | Description |
|---|---|---|---|
| algorithm | string | — | Hash algorithm (default: sha256) |
| device | string | — | Device serial |
| path | string | yes | File path on device |
| root | boolean | — | Use root shell for protected paths |
No output schema declared.
No examples provided.
adb_file_chmod ~155
Change file permissions on the device. Mode must be a valid octal string (e.g., '755', '644', '600'). Recursive mode uses depth-based protection: refuses at depth ≤ 2 from root. Note: sdcardfs/FUSE ignores Unix permissions — file access on /sdcard is controlled by Android's package ownership model.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| mode | string | yes | Octal permission mode (e.g., '755', '644', '0600') |
| path | string | yes | File or directory path |
| recursive | boolean | — | Apply recursively to directory contents. Depth-protected. |
| root | boolean | — | Use root shell (typically required for chmod) |
No output schema declared.
No examples provided.
adb_file_chown ~148
Change file ownership on the device. Requires root. Supports both numeric UID:GID (e.g., '10150:10150') and symbolic user:group (e.g., 'system:system'). Recursive mode uses depth-based protection: refuses at depth ≤ 2 from root. Note: sdcardfs/FAT32 ignore ownership changes.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| owner | string | yes | Owner in user:group format (e.g., '0:0', 'system:system', '10150:10150') |
| path | string | yes | File or directory path |
| recursive | boolean | — | Apply recursively to directory contents. Depth-protected. |
No output schema declared.
No examples provided.
adb_file_copy ~103
Copy a file or directory on the device. Pre-flight checks source size against destination available space. Post-verifies the copy by comparing file sizes. For recursive directory copies, use -r flag.
| Name | Type | Req | Description |
|---|---|---|---|
| destination | string | yes | Destination path |
| device | string | — | Device serial |
| recursive | boolean | — | Copy directories recursively (-r) |
| root | boolean | — | Use root shell for protected paths |
| source | string | yes | Source file or directory path |
No output schema declared.
No examples provided.
adb_file_fsinfo ~102
Report filesystem details for any path: filesystem type, mount point, mount options, capacity, usage, read-only status, permission support, symlink support, max file size, timestamp resolution, encryption status, and SELinux context. Essential for understanding what operations are possible before attempting them.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| path | string | yes | File or directory path to inspect |
| root | boolean | — | Use root shell for system paths |
No output schema declared.
No examples provided.
adb_file_move ~122
Move or rename a file/directory on the device. Moving FROM a system path is destructive — source depth protection refuses if source is at depth ≤ 1 from root. Symlinks resolved before checks. Cross-filesystem moves (e.g., /data → /sdcard) do a copy+delete internally and can be slow for large files.
| Name | Type | Req | Description |
|---|---|---|---|
| destination | string | yes | Destination path |
| device | string | — | Device serial |
| root | boolean | — | Use root shell for protected paths |
| source | string | yes | Source file or directory path |
No output schema declared.
No examples provided.
adb_file_replace ~163
Find and replace text in a file on the device. Uses sed internally with proper escaping — exposes a safe interface without requiring sed syntax knowledge. Supports global replacement, line-targeted edits, and optional backup creation. Reports match count.
| Name | Type | Req | Description |
|---|---|---|---|
| backup | boolean | — | Create a .bak backup before modifying |
| device | string | — | Device serial |
| find | string | yes | 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 | yes | File path on device |
| replace | string | yes | Replacement text |
| root | boolean | — | Use root shell for protected paths |
No output schema declared.
No examples provided.
adb_file_stat ~75
Get detailed file metadata: size, permissions, ownership, timestamps (access/modify/change), SELinux security context, and file type. Read-only operation.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| path | string | yes | File or directory path on device |
| root | boolean | — | Use root shell for protected paths |
No output schema declared.
No examples provided.
adb_file_touch ~122
Create an empty file or update timestamps. Three modes: create (touch non-existent path), update (set atime/mtime to now), or set explicit timestamp. On FAT32, timestamps have 2-second resolution. On tmpfs, timestamps are volatile.
| Name | Type | Req | Description |
|---|---|---|---|
| device | string | — | Device serial |
| path | string | yes | 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. |
No output schema declared.
No examples provided.