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=[])
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": {
"blueprint_path": "<blueprint_path>",
"graph_name": "<graph_name>",
"node_guids": "<node_guids>"
},
"name": "bp_remove_orphaned_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| node_guids | Yes | ||
| blueprint_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |