Push / pull file
file_transferCopies files between your local machine and an Android device using adb push or pull, so you can deploy assets or retrieve device files.
Instructions
Copy a file between this machine and the device (adb push / adb pull).
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": {
"direction": "<direction>",
"localPath": "<localPath>",
"devicePath": "<devicePath>"
},
"name": "file_transfer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial from devices_list. Optional when exactly one device is online. | |
| direction | Yes | ||
| localPath | Yes | ||
| devicePath | Yes |