pull_adb_package
Pulls an installed package's complete APK set—base and all splits—from an Android device into a new package-named folder, preserving originals and recording SHA-256 hashes and per-file failures.
Instructions
Pull one installed package's complete APK set (base plus every split, as pm path reports) from the device into a caller-selected output directory, creating a package-named subdirectory that must not already exist. Every pulled file is digested with SHA-256; partial pulls keep successful artifacts and per-file failure reasons. The device keeps the originals.
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": {
"serial": "<serial>",
"package": "<package>",
"output_directory": "<output_directory>"
},
"name": "pull_adb_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Device serial exactly as `adb devices` reports it | |
| package | Yes | Installed package name whose APK set is pulled | |
| output_directory | Yes | Local directory for the pulled APK set; REA creates a package-named subdirectory inside it | |
| analysis_project_id | No | Optional investigation to retain this tool result in. Does not prove target identity or causal relationships. |