skill_audit_blueprint_health
Audits Unreal Engine Blueprint health and returns a 0-100 score based on compile status, disconnected pins, unused variables, and reference count. Identifies issues to guide fixes.
Instructions
Audit the health of a Blueprint and return a structured report.
Calls only existing atomic tools (bp_get_graph_summary, bp_get_graph_detail, project_get_references, bp_compile). Does not use exec_python directly.
The audit checks: • Compilation status (had_errors flag) • Variable inventory • Disconnected exec pins (execution chains broken) • Disconnected non-exec input pins without defaults • Unused variables (declared but not referenced in any graph) • Incoming reference count
Returns a 0–100 health_score: 100 — clean compile, no issues 70-99 — minor issues (unused vars, unconnected data pins) 40-69 — significant issues (disconnected exec chains) 0-39 — compile failure or severe disconnection
Args: blueprint_name: Asset name (e.g. 'BP_HealthSystem'). blueprint_path: Full package path. None = '/Game/Blueprints/'. compile_check: Whether to run bp_compile. Default True.
Returns: JSON StructuredResult with outputs: compiles_clean, variable_count, function_graph_count, node_count_total, disconnected_exec_pins, disconnected_input_pins, unused_variables, incoming_references, warnings, health_score
KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: skill_audit_blueprint_health(blueprint_name="/Game/MCP_Test/BP_Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compile_check | No | ||
| blueprint_name | Yes | ||
| blueprint_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |