Skip to main content
Glama

Apktool MCP Server

modify_smali_file

Modify specific smali files in Android APKs using Apktool MCP Server. Input project directory, class name, and new content to edit smali code directly, with optional backup creation.

Instructions

Modify the content of a specific smali file.

Input Schema

NameRequiredDescriptionDefault
class_nameYes
create_backupNo
new_contentYes
project_dirYes

Input Schema (JSON Schema)

{ "properties": { "class_name": { "title": "Class Name", "type": "string" }, "create_backup": { "default": true, "title": "Create Backup", "type": "boolean" }, "new_content": { "title": "New Content", "type": "string" }, "project_dir": { "title": "Project Dir", "type": "string" } }, "required": [ "project_dir", "class_name", "new_content" ], "title": "modify_smali_fileArguments", "type": "object" }

Other Tools from Apktool MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zinja-coder/apktool-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server