Pull file
pull_fileCopy a file from an Android device to a local path over adb to retrieve generated files, databases, or screenshots. Specify the device path and local destination.
Instructions
Copy a file off the device to a local path (adb pull) — e.g. retrieve a generated file, database, or screenshot.
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>",
"local_path": "<local_path>"
},
"name": "pull_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| local_path | Yes | Local destination path. | |
| device_path | Yes | File path on the device to copy off. |