INNER CODE UNIT · Python
get_all_nodes_in_graph
prajwalshettydev/UnrealGenAISupport · Content/Python/mcp_server.py:621
def get_all_nodes_in_graph(blueprint_path: str, function_id: str) -> str:
"""
Get all nodes in a Blueprint graph with their positions and types
Args:
blueprint_path: Path to the Blueprint asset
function_id: ID of the function to get nodes from
Returns:
JSON string containing all nodes with their GUIDs, types, and positions
"""
command = {
"type": "get_all_nodes",
"blueprint_path": blueprint_path,
"function_id": function_id
}
response = send_to_unreal(command)