add_blueprint_variable_set_node
Adds a 'Set Variable' node to a Blueprint graph to assign a value to a specified variable, enabling automated variable updates in Unreal Engine editor workflows.
Instructions
Add a 'Set Variable' node for a Blueprint variable.
Args: blueprint_name: Asset name. variable_name: Name of the variable to set. graph_name: Graph to add node to. Default 'EventGraph'. node_position: Optional [X, Y] canvas position. target_class: Optional owning class when setting an external member (same resolution as native bridge).
Returns: Dict with 'node_id', 'node_name', 'pins'.
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_blueprint_variable_set_node(blueprint_name="/Game/MCP_Test/BP_Example", variable_name="ExampleName")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | No | EventGraph | |
| target_class | No | ||
| node_position | No | ||
| variable_name | Yes | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |