file_push
Push files from a computer to an Android device via ADB. Provide the local file path and the destination on the device.
Instructions
Push a file from the host machine to the device.
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": {
"localPath": "<localPath>",
"remotePath": "<remotePath>"
},
"name": "file_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Absolute path to the file on the host machine | |
| remotePath | Yes | Destination path on the device (e.g., /sdcard/myfile.txt) | |
| serial | No | Device serial number |