decode_apk
Decode Android APK files for reverse engineering analysis with support for selective resource or source decoding and custom output options.
Instructions
Decode an APK file using APKTool with comprehensive validation and error handling.
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": {
"apk_path": "<apk_path>"
},
"name": "decode_apk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force delete destination directory if it exists | |
| no_res | No | Do not decode resources | |
| no_src | No | Do not decode sources | |
| timeout | No | Command timeout in seconds | |
| apk_path | Yes | Path to the APK file to decode | |
| output_dir | No | Custom output directory (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||