bp_set_pin_default
Set a constant default value for an unconnected Blueprint node input pin, such as a Delay duration or PrintString text. Overrides pin's literal value in Unreal Engine.
Instructions
Set the default/literal value for an unconnected input pin.
Use this to set constant values on node pins — for example, setting the 'Duration' on a Delay node, or the 'In String' on PrintString.
Only works on unconnected input pins. If the pin is already connected to another node, set_node_pin_value will be rejected by UE5 (the connected value overrides the default).
Value formats: bool: 'true' or 'false' int: '42' float: '3.14' string: 'Hello World' vector: '(X=1.0,Y=2.0,Z=3.0)' rotator: '(Pitch=0,Yaw=90,Roll=0)' enum: 'EnumValue' (exact enum string value)
Args: blueprint_name: Blueprint asset name node_id: GUID or short name of the node pin_name: Exact pin name (from bp_inspect_node output) default_value: Value string to set graph_name: Graph name. Default 'EventGraph'
Returns: JSON string with StructuredResult. outputs.node_id, pin_name, previous_value, new_value
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: bp_set_pin_default(blueprint_name="/Game/MCP_Test/BP_Example", node_id="Example", pin_name="Exec", default_value=0.0)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | ||
| pin_name | Yes | ||
| graph_name | No | EventGraph | |
| default_value | Yes | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |