file_pull
Transfer a file from an Android device to your host machine by specifying the remote path and a local destination. Resolve the need to retrieve device files without manual ADB commands.
Instructions
Pull a file from the device to the host machine.
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": {
"remotePath": "<remotePath>",
"localPath": "<localPath>"
},
"name": "file_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial number | |
| localPath | Yes | Destination absolute path on the host machine | |
| remotePath | Yes | Path to the file on the device (e.g., /sdcard/myfile.txt) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | adb pull result or a confirmation message | |
| success | Yes | Whether the file was pulled |