push_file
Transfer a local file to a connected Android emulator by providing the local path and the target remote path on the device.
Instructions
Copy a local file 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": {
"local_path": "<local_path>",
"remote_path": "<remote_path>"
},
"name": "push_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (e.g. emulator-5554). Optional when exactly one device is connected. | |
| local_path | Yes | ||
| remote_path | Yes | e.g. /sdcard/Download/file.txt |