Apktool MCP Server

extract_dex

Extract DEX files from an APKTool project directory to analyze or modify Android application code. Specify a custom output directory for the extracted files.

Instructions

Extract DEX files from original APK (if available in project).

Args: project_dir: Path to the APKTool project directory output_dir: Optional directory to extract DEX files to

Returns: Dictionary with operation results

Input Schema

NameRequiredDescriptionDefault
output_dirNo
project_dirYes

Input Schema (JSON Schema)

{ "properties": { "output_dir": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Output Dir" }, "project_dir": { "title": "Project Dir", "type": "string" } }, "required": [ "project_dir" ], "title": "extract_dexArguments", "type": "object" }
ID: jtugu4w3w9