adb_push
Transfer a local file to an Android device via ADB, specifying source and destination paths. Optionally target a specific device by serial number.
Instructions
Push a file from the local machine to the Android device.
Args: local_path: Path to the file on the local machine. remote_path: Destination path on the device (e.g., '/sdcard/file.txt'). device: Device serial number. If omitted, auto-selects when only one device is connected.
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>",
"remote_path": "<remote_path>"
},
"name": "adb_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| local_path | Yes | ||
| remote_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |