Push File
file_pushCopy a local file to a connected Android device by providing source and destination paths, optionally targeting a specific device serial.
Instructions
Push a local file to a connected Android 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 |
|---|---|---|---|
| deviceId | No | Target device serial | |
| localPath | Yes | Absolute path to the local file | |
| remotePath | Yes | Destination path on the device, e.g. '/sdcard/Download/file.txt' |