file_push
Copies a local host file to an Android device at a specified destination path, with optional octal permissions for assets, APKs, or configs.
Instructions
Copy a local file to the device (e.g. an APK, config, or test asset).
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": "file_push"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Octal permission bits, default 644 | |
| local_path | Yes | Path on the host | |
| remote_path | Yes | Destination path on the device, e.g. /sdcard/x.txt |