push_file
Transfers a local file to a specified path on an Android device for app testing, deployment, or data transfer.
Instructions
将本地文件推送到 Android 设备。
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>",
"device_path": "<device_path>"
},
"name": "push_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | Yes | 本地文件的绝对路径,例如 /tmp/test.txt。 | |
| device_path | Yes | 推送到设备的目标路径,例如 /sdcard/Download/test.txt。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |