Pull file from device
adb_pullCopy a file from an Android device to the server's file roots, overwriting existing files and creating missing directories.
Instructions
Copy a file from the device into the server's file roots (file_roots), overwriting a file of the same name and creating missing directories. The reverse is adb_push.
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": {
"device_path": "<device_path>",
"host_path": "<host_path>"
},
"name": "adb_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial from adb_devices. Optional when exactly one device is connected. | |
| host_path | Yes | Absolute destination path on the server, inside file_roots. | |
| device_path | Yes | File on the device, e.g. /sdcard/Download/report.pdf. |