get_resource_file
Retrieves the content of a specified resource file (e.g., layout or drawable) from an Apktool project directory, with validation and metadata.
Instructions
Get content of a specific resource file with validation and metadata.
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>",
"resource_type": "<resource_type>",
"resource_name": "<resource_name>"
},
"name": "get_resource_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Path to the APKTool project directory | |
| resource_name | Yes | Name of the resource file | |
| resource_type | Yes | Resource type (e.g., "layout", "drawable") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||