transfer_file
Copy a file in either direction between a computer and an Android phone. Specify to_phone or from_phone with local and phone paths to transfer.
Instructions
Copy a file between this computer and the phone.
Args: direction: "to_phone" or "from_phone". computer_path: Path on this computer. "~" is expanded. phone_path: Path on the phone, for example /sdcard/Download/report.pdf.
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>",
"computer_path": "<computer_path>",
"phone_path": "<phone_path>"
},
"name": "transfer_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| direction | Yes | Which way to move, or which way the copy goes for a file. | |
| phone_path | Yes | Path on the phone, for example /sdcard/Download/report.pdf. | |
| computer_path | Yes | Path on this computer. '~' is expanded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |