Apktool MCP Server

get_smali_file

Extract and retrieve the content of a specific smali file using its class name from an APKTool project directory for Android reverse engineering tasks.

Instructions

Get content of a specific smali file by class name.

Args: project_dir: Path to the APKTool project directory class_name: Full class name (e.g., com.example.MyClass)

Returns: Dictionary with smali file content

Input Schema

NameRequiredDescriptionDefault
class_nameYes
project_dirYes

Input Schema (JSON Schema)

{ "properties": { "class_name": { "title": "Class Name", "type": "string" }, "project_dir": { "title": "Project Dir", "type": "string" } }, "required": [ "project_dir", "class_name" ], "title": "get_smali_fileArguments", "type": "object" }
ID: jtugu4w3w9