get_smali_file
Retrieve the smali file content for a given class name to inspect decompiled Android app code.
Instructions
Get content of a specific smali file by class name with validation.
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": {
"project_dir": "<project_dir>",
"class_name": "<class_name>"
},
"name": "get_smali_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | Full class name (e.g., com.example.MyClass) | |
| project_dir | Yes | Path to the APKTool project directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||