resource_get_material_properties
Retrieve material properties such as albedo color, metallic, and roughness from a Godot material resource file.
Instructions
Get properties from a material resource file.
Category: Resource
Args: project_path: Path to the Godot project directory material_path: Path to the material file (e.g., "materials/red.tres")
Returns: JSON containing material properties: type, albedo_color, metallic, roughness, etc.
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_path": "<project_path>",
"material_path": "<material_path>"
},
"name": "resource_get_material_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| material_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |