connect_blueprint_nodes
Connect a Blueprint node's output pin to another node's input pin, verifying the connection and reporting any type or schema mismatches.
Instructions
Connect an output pin on one node to an input pin on another.
source_node_id / target_node_id can be:
A GUID string (from get_blueprint_nodes / add_* commands)
The short object name, e.g. 'K2Node_CallFunction_40'
Pin name parameter (use EITHER form — both are accepted): source_pin / source_pin_name — output pin on the source node target_pin / target_pin_name — input pin on the target node
Common exec pin names: 'then' (output), 'execute' (input). Common data pin names: 'ReturnValue', 'Target', 'NewLocation', etc.
Returns a dict with source_node_id, target_node_id, source_pin, target_pin, and connection_verified (True/False). If connection_verified is False a 'warning' field explains why the connection may not have taken effect (type mismatch, schema disallow, etc.). When the schema outright forbids the connection the command returns an error with the schema's reason message.
Args: blueprint_name: Asset name. source_node_id: GUID or object name of the source node. target_node_id: GUID or object name of the target node. graph_name: Graph to operate on. Default 'EventGraph'. source_pin: Output pin name on the source node (alias: source_pin_name). target_pin: Input pin name on the target node (alias: target_pin_name). source_pin_name: Alias for source_pin (BUG-NEW compatibility). target_pin_name: Alias for target_pin (BUG-NEW compatibility).
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: connect_blueprint_nodes(blueprint_name="/Game/MCP_Test/BP_Example", source_node_id="Example", target_node_id="Example")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | No | EventGraph | |
| source_pin | No | ||
| target_pin | No | ||
| blueprint_name | Yes | ||
| source_node_id | Yes | ||
| target_node_id | Yes | ||
| source_pin_name | No | ||
| target_pin_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |