mat_validate_material
Detect material issues by counting expressions and disconnects, then compute a health score (0-100) with compile status and actionable recommendations.
Instructions
Validate a Material: expression count, disconnects, health score.
Gives materials the same trust model as Blueprints. Narrower than Blueprint validation but reliable and non-speculative.
Args: material_path: Full asset path (e.g. '/Game/Materials/M_DemoB')
Returns: StructuredResult with outputs: material_health_score — int 0-100 compile_clean — bool expression_count — int disconnected_count — int (expressions not connected to output) issues[] — structured issue items recommended_actions[] — actionable strings
KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: mat_validate_material(material_path="/Game/MCP_Test/M_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |