mat_get_compile_diagnostics
Retrieve compiler diagnostics for a Material asset, including errors, warnings, and expression count, to verify if it compiles cleanly.
Instructions
Get compiler-derived diagnostics for a Material asset.
Args: material_path: Full asset path (e.g. '/Game/Materials/M_DemoB') include_warnings: Include warning-level items (default True)
Returns: StructuredResult with outputs: compile_clean — bool errors[] — structured error items warnings[] — structured warning items expression_count — int compiler_summary — str had_errors — bool
KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: mat_get_compile_diagnostics(material_path="/Game/MCP_Test/M_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_path | Yes | ||
| include_warnings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |