Push file
push_fileCopies a local file to an Android device over adb so you can seed test data or import files to a specified device path.
Instructions
Copy a local file onto the device (adb push) — e.g. seed test data or a file to import.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"local_path": "<local_path>",
"device_path": "<device_path>"
},
"name": "push_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| local_path | Yes | Local file to copy onto the device. | |
| device_path | Yes | Destination path on the device, e.g. /sdcard/Download/x.json. |