set_node_pin_value
Set a default literal value on an unconnected Blueprint node pin, emulating direct input in the editor. Specify blueprint, node, pin, and value as a string.
Instructions
Set a literal default value on an unconnected pin.
This is equivalent to typing a value into an exposed pin field in the Blueprint editor. The pin must NOT be connected to another node.
Examples: Boolean : value="true" or "false" Float : value="1.5" Integer : value="42" String : value="Hello" Vector : value="(X=100.0,Y=0.0,Z=0.0)" Rotator : value="(Pitch=0.0,Yaw=90.0,Roll=0.0)"
Args: blueprint_name: Asset name. node_id: Node GUID or short object name. pin_name: Pin name to set. value: New literal value as a string. graph_name: Graph to operate on. Default 'EventGraph'.
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: set_node_pin_value(blueprint_name="/Game/MCP_Test/BP_Example", node_id="Example", pin_name="Exec", value=0.0)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| node_id | Yes | ||
| pin_name | Yes | ||
| graph_name | No | EventGraph | |
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |