modify_resource_file
Update specific resource files in an APKTool project by defining the resource type, file name, and new content. Optionally create backups for safe modifications.
Instructions
Modify the content of a specific resource file.
Args: project_dir: Path to the APKTool project directory resource_type: Resource type (e.g., "layout", "values") resource_name: Name of the resource file new_content: New content for the resource file create_backup: Whether to create a backup of the original file
Returns: Dictionary with operation results
Input Schema
Name | Required | Description | Default |
---|---|---|---|
create_backup | No | ||
new_content | Yes | ||
project_dir | Yes | ||
resource_name | Yes | ||
resource_type | Yes |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Apktool MCP Server
- analyze_permissions
- build_apk
- check_apktool_version
- clean_project
- compare_smali_files
- create_project
- decode_apk
- delete_project
- extract_dex
- get_apktool_yml
- get_available_devices
- get_manifest
- get_resource_file
- get_smali_file
- install_apk
- list_packages
- list_resources
- list_smali_directories
- list_smali_files
- list_workspace_projects
- modify_resource_file
- modify_smali_file
- search_in_files
- sign_apk
Related Tools
- @zinja-coder/apktool-mcp-server
- @zinja-coder/apktool-mcp-server
- @zinja-coder/apktool-mcp-server
- @zinja-coder/apktool-mcp-server
- @zinja-coder/apktool-mcp-server
- @zinja-coder/apktool-mcp-server