add_blueprint_node
Add a node to a Blueprint graph in Unreal Engine 5, supporting flow control, data operations, casting, utilities, events, and more.
Instructions
Add a node to a Blueprint graph.
Node types by category: FLOW: Branch, Comparison, Switch, SwitchEnum, SwitchInteger, ExecutionSequence DATA: VariableGet, VariableSet, MakeArray CASTING: DynamicCast, ClassDynamicCast, CastByteToEnum UTILITY: Print, CallFunction, Select, SpawnActor SPECIAL: Timeline, GetDataTableRow, AddComponentByClass, Self, Knot EVENT: Event (specify event_type: BeginPlay, Tick, Destroyed, etc.)
Extra args are only needed for specific node types (message for Print, variable_name for Variable nodes, target_function for CallFunction, etc.).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blueprint_name": "<blueprint_name>",
"node_type": "<node_type>"
},
"name": "add_blueprint_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos_x | No | ||
| pos_y | No | ||
| message | No | ||
| node_type | Yes | ||
| event_type | No | ||
| function_name | No | ||
| variable_name | No | ||
| blueprint_name | Yes | ||
| target_function | No | ||
| target_blueprint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |