Push a file to the device
push_fileCopy a file from the host machine to a connected Android device via adb push; remote destination must stay within configured allowed roots.
Instructions
Copy a file from the host machine to the device (adb push). For safety the remote path must be inside the configured allowed roots (default /sdcard, /storage/emulated/0, /data/local/tmp).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device serial from list_devices; optional when exactly one device is connected. | |
| local_path | Yes | Source path on the host machine (relative paths resolve against the server cwd). | |
| remote_path | Yes | Destination path on the device, e.g. "/sdcard/Download/app.apk". |