Pull Adb Package
pull_adb_packagePulls an installed Android package's full APK set (base and splits) from a device via ADB into a new package-named output subdirectory, with SHA-256 digests and partial-pull results.
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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"serial": "emulator-5554",
"package": "com.example.app",
"output_directory": "/tmp/rea-pulls"
},
"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 |