bp_remove_orphaned_nodes
Remove confirmed orphaned nodes from a Blueprint graph using their GUIDs while preserving event/entry nodes. Clean up invalid graph data safely.
Instructions
Remove confirmed orphaned nodes from a Blueprint graph.
Only nodes whose GUIDs are explicitly listed are removed. Event/entry nodes are always skipped even if listed.
Args: blueprint_path: Full asset path or plain name graph_name: Graph to modify node_guids: List of node GUIDs confirmed orphaned by bp_find_orphaned_nodes or bp_validate_graph
Returns: StructuredResult with outputs: removed_count — int removed_nodes[] — [{name, guid}] skipped_nodes[] — [{name, reason}] repairs_applied[] — list of repair records safe_to_continue — bool
KB: see knowledge_base/32_AGENT_PLAYABLE_SLICE_RECIPE.md#overview Example: bp_remove_orphaned_nodes(blueprint_path="/Game/MCP_Test/BP_Example", graph_name="EventGraph", node_guids=[])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| node_guids | Yes | ||
| blueprint_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |