push_file
Copy files or directories from your computer to a connected Android device or emulator.
Instructions
Copy a file or directory from the host machine to the connected 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": "push_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Specific device serial number | |
| localPath | Yes | Absolute file path of the source file/directory on the host computer | |
| remotePath | Yes | Target absolute file path on the Android device (e.g. '/sdcard/Download/file.txt') |