Skip to content

Blueprint

89 tools for Blueprint authoring: Blueprints, macros and Editor Utility Blueprints, variables, functions and their parameters, event dispatchers, interfaces, components, timelines, graph nodes and pins, compiling, replication settings and reparenting.

Back to the index.

add_ai_perception_sense

Additive Idempotent Refused during PIE

Configure a sight or hearing sense on an AIPerceptionComponent TEMPLATE of a Blueprint, creating the config as an Instanced subobject of the template so it persists with the asset, and saving the package. Idempotent: ConfigureSense dedups by config class, so re-calling with the same sense_type UPDATES the existing config in place instead of stacking a second one. Only "sight" and "hearing" are supported (no damage, touch or team senses). It authors the TEMPLATE only -- whether the AI actually perceives anything is a live-PIE question this cannot answer; read the authored result back with get_ai_perception_senses. Inverse: remove_ai_perception_sense.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint owning the component
component_name string yes Name of the AIPerceptionComponent SCS node
sense_type string yes "sight" or "hearing"
dominant boolean no Optional bool; if true, sets this sense as the component's dominant sense
sight_radius number no (sight) Maximum sight distance, cm (ClampMin 0)
lose_sight_radius number no (sight) Distance to keep seeing an already-seen target, cm (ClampMin 0)
peripheral_vision_angle number no (sight) Peripheral vision half-angle, degrees (Clamp 0..180)
hearing_range number no (hearing) Hearing range, cm (ClampMin 0)
detect_enemies boolean no Optional bool affiliation filter
detect_neutrals boolean no Optional bool affiliation filter
detect_friendlies boolean no Optional bool affiliation filter

Returns: { blueprint_name, component_name, sense_type, config_class, <sense fields>, note }

add_blueprint_function

Destructive Idempotent Refused during PIE

Create a NEW function graph on a Blueprint, or with override=true a real OVERRIDE of an inherited/interface member: an event-shape member (no return value) becomes a genuine event OVERRIDE node in the event graph (node_id returned, placed at node_position), a value-returning one a real override FUNCTION graph (in ImplementedInterfaces[].Graphs for an interface member) -- the only correct route for interface events, since a hand-placed event node can compile yet never fire. The override is idempotent (was_already_overridden) and leaves the Blueprint needing a compile, unsaved. It REFUSES rather than guessing: a name that collides with an overridable inherited function errors with a hint instead of silently creating a "<name>_0" shadow, and an EVENT-shape member already shadowed by a local function graph errors telling you to remove that graph first. The new graph does not exist in the generated class until compile_blueprint, so compile BEFORE add_function_parameter or any node that calls it -- otherwise a build_blueprint_graph step fails with "Function not found" and rolls the whole batch back.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint (for override=true it must already implement the interface / inherit the virtual; implement_interface first).
function_name string yes Name for the new function; with override=true, the EXACT name of the inherited (interface or parent-class) function to override (e.g. "CanInteract", "GetInteractText").
override boolean no Optional. When true, create an OVERRIDE of an inherited function ('My Blueprint > Override'): resolves the interface/parent-virtual signature and creates the override graph (function-shape) or event override node (event-shape) with the inherited signature + exact name -- NOT a new deduped function. When omitted and the name collides with an inherited overridable function, the call errors with a hint (instead of silently making a '<name>_0' shadow); pass override=false to force a brand-new function anyway.
node_position array no Optional [x, y] canvas position for an event-override node that override=true CREATES (an existing one is not moved; a function graph has no single node to place).

Returns: { blueprint_name: string, function_name: string, graph_name: string, success: bool [, kind, already_existed, created, was_already_overridden, node_id, already_exists, is_interface_function, note] } -- with override=true: kind='function' (graph_name is an editable function-override graph, ready to wire with get_graph_nodes / connect_pins) or kind='event' (an event OVERRIDE node was created or reused in the event graph graph_name names, and node_id is that node); created is !already_existed, and was_already_overridden is already_existed. success:true can come back WITHOUT the graph actually appearing, so confirm with get_blueprint_functions before wiring it.

add_blueprint_timeline_track

Additive Refused during PIE

Add a track to a Timeline of a Blueprint, with optional keys, as the Timeline editor's "+ Track" does: a float, vector, color or event track whose curve is made inside the Blueprint, then the timeline node is reconstructed (a float/vector/color track gets an output pin of its name, an event track an exec output) and the Blueprint compiled; one undo step (the compile is not undone). The reply re-reads the timeline (tracks, output_pins). keys is [[time, value], ...]: value a number for float, [x,y,z] for vector, [r,g,b] or [r,g,b,a] for color, nothing for event ([time] or a bare time). A track name already used on the timeline, a malformed key or an unknown track_type is an error and nothing changes; so is a missing Blueprint or timeline. Keys past the timeline length stay but play only if length grows. Refused during PIE unless force=true. Timelines come from add_timeline_to_blueprint; read: get_blueprint_timeline_info; inverse: remove_blueprint_timeline_track.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of an Actor Blueprint.
timeline_name string yes The timeline's variable name, as add_timeline_to_blueprint returned it.
track_type string yes float | vector | color | event; linearcolor is accepted as color.
track_name string yes Name of the new track, unique on this timeline; it names the node's output pin.
keys array no Optional keys, [[time, value], ...] (see the description for value by track type).
interpolation string no Optional key interpolation for float/vector/color: "linear" (default) | "cubic" | "constant".

Returns: { blueprint_name, timeline_name, track_name, track_type, added, keys_added, curve, length, length_mode, auto_play, loop, replicated, ignore_time_dilation, track_count, tracks: [{track_name, track_type, curve, external_curve, key_count, keys: [{time, value}]}], node_id, graph_name, output_pins: [string] }

add_blueprint_variable

Additive Refused during PIE

Pack blueprint_authoring: enable_toolset adds it to a client's list (tool lists).

Add a MEMBER variable to a Blueprint (add_function_local_variable is the function-scoped twin), then read/write it with add_graph_node node_type=variable_get/variable_set. TRAP 1: the variable is born NOT editable per instance -- placing the actor and writing that variable fails with "cannot be edited on instances" -- and get_blueprint_variables reports instance_editable:true anyway; fix it with set_blueprint_variable_metadata(instance_editable=true). TRAP 2: on a class that ALREADY has actors placed in a level, those instances keep the value of the first compile, so a default set afterwards never reaches them -- verify on the instances, not on the CDO.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
variable_name string yes New variable name (fails if the name already exists on this Blueprint).
variable_type string yes Type string: bool, int, int64, float, string, name, text, byte, or the name/path of a struct, enum, class or object (e.g. Vector, /Game/Dir/S_Foo.S_Foo, /Script/Engine.Actor).
is_array boolean no When true, make the variable an array container; defaults to false. A parameter takes its container in param_type instead (add_function_parameter with "int[]").
default_value string no Initial default value for the new variable, in exported-text form; optional

Returns: { blueprint_name, variable_name, variable_type, is_array } -- an echo of the request, NOT a verification: read the variable back with get_blueprint_variables (or the CDO) before relying on it.

add_broadcast_node

Additive Refused during PIE

Add the node that BROADCASTS (fires) an event dispatcher on self -- own or inherited -- with one input pin per signature parameter, so listeners run. Does NOT compile. The dispatcher must already exist in the compiled class (add_event_dispatcher then compile_blueprint), and its parameter pins only appear after set_event_dispatcher_signature. The opposite direction (LISTENING) is add_graph_node node_type="add_delegate" for self, add_object_bound_event for another object's dispatcher.

Parameter Type Required Description
blueprint_name string yes Blueprint that owns (or inherits) the dispatcher
dispatcher_name string yes Exact name of the multicast delegate to broadcast; resolved on the skeleton class, so inherited dispatchers work
graph_name string no Target graph; defaults to the Blueprint's event graph when omitted
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, class, title, pins:[execute, then, one input per signature param], blueprint_name, graph_name, dispatcher_name } -- an empty parameter list means the dispatcher has no signature yet.

add_comment_node

Destructive Refused during PIE

Add a resizable comment box (UEdGraphNode_Comment) with text to a graph, in one undo step. The text is written after the engine places the node (its PostPlacedNewNode resets the box to "Comment"), and the returned "comment" field is the box's text read back; without text the box keeps the engine's "Comment". It has NO pins, so a pin_defaults entry aimed at it breaks a whole build_blueprint_graph batch. Read back: get_graph_nodes (compact=false: compact skips comment boxes); remove: remove_graph_node.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
text string no Comment text shown in the box; omitted or empty leaves the engine default "Comment"
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
width number no Comment box width in pixels; defaults to 400
height number no Comment box height in pixels; defaults to 200
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, class, title, pos_x, pos_y, comment } -- no pins array; comment is the text the box holds, read back after placement.

add_component_bound_event

Additive Idempotent Refused during PIE

Bind a multicast delegate OF ONE OF THIS BLUEPRINT'S OWN COMPONENTS (OnComponentBeginOverlap, OnComponentHit, a vendor component's dispatcher...) to a generated handler event in the event graph -- the editor's component-event flow -- then compile and re-check that the binding registered (bound). ALSO WORKS ON A WIDGET BLUEPRINT: pass the WBP and a WIDGET's name as component_name to wire a Button's OnClicked, a Slider's OnValueChanged, a CheckBox's OnCheckStateChanged -- exactly what the Designer's "+ OnClicked" green button does, and the only headless route to it (bound:true, with a BndEvt__..._OnButtonClickedEvent created). A UMG widget is not an SCS component but IS a property of the generated class, which is all this needs. Idempotent: an identical binding is returned instead of duplicated. The Blueprint must already be compiled, since the component/widget has to exist as a property of the generated class. For a dispatcher on an object that is NOT self and NOT one of its components, use add_object_bound_event; for one on SELF, add_graph_node node_type="add_delegate".

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of an Actor Blueprint OR a Widget Blueprint (already compiled).
component_name string yes SCS component variable name on this Blueprint (e.g. "BodyMesh"), OR -- on a Widget Blueprint -- the name of a widget in its tree (e.g. "Btn_Play"); resolved on the skeleton class, so inherited components and widgets work too.
delegate_name string yes Exact multicast delegate property name on the COMPONENT's class (e.g. "OnComponentBeginOverlap"). On a miss the error names the component class so the right delegate can be looked up.
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, class, title, pins:[...the delegate's params as OUTPUT pins...], blueprint_name, graph_name, component_name, delegate, custom_function_name, bound, already_exists? } -- bound is a post-compile re-lookup (the real oracle); already_exists is only present when an existing binding was reused.

add_component_to_blueprint

Additive Refused during PIE

Add a component of any class (engine class or a Blueprint AC_* class) to a Blueprint's SCS, with an optional relative transform and parent, then compile. Pick it to change the Blueprint so every instance gets the component; add_component_to_actor adds one to a single placed actor only, and attach_blueprint_component re-parents a component that already exists. TRAP 1: on a CHILD Blueprint whose scene root is INHERITED, a SCENE component can end up written into the PARENT's SCS (source:"inherited", owner_class = the parent) -- which silently edits a vendor/library asset; non-scene ActorComponents land correctly on the child. TRAP 2: a scene component of a BLUEPRINT class, or one given a location, can report success without persisting and then materialize LATER as a duplicate. Both have the same oracle: get_blueprint_components right after, checking owner_class and source of the new node -- never the return value.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint
component_type string yes Component class: a native short name ('StaticMesh', 'Box', 'Sphere'), a /Script path ('/Script/Engine.StaticMeshComponent'), OR a Blueprint component class given as its object path ('/Game/.../AC_Foo.AC_Foo_C'), a bare package path ('/Game/.../AC_Foo'), or a bare '<Name>_C' ('AC_Foo_C').
component_name string yes Name for the new component instance
location array no Optional [x, y, z] relative location for scene components
rotation array no Optional [pitch, yaw, roll] relative rotation for scene components
scale array no Optional [x, y, z] relative scale for scene components
transform object no Optional {"location":[x,y,z], "rotation":[p,y,r], "scale":[x,y,z]} alias for scene components; any flat location/rotation/scale arg above wins over the matching axis in here if both are given.
parent_component_name string no Optional parent for scene components; omit / "root" attaches under the Blueprint's EXISTING scene root (SCS or native) instead of force-adding a second orphan root node. May also name a NATIVE inherited scene component (e.g. ACharacter's "CharacterMesh0"), mirroring attach_blueprint_component. Ignored for non-scene ActorComponents (no transform, no hierarchy to join).
socket_name string no Optional socket/bone name on the parent (AttachToName)

Returns: { component_name: string, component_type: string } -- an ECHO of the request with no owner, no source and no verification. It says nothing about WHERE the node landed: read get_blueprint_components afterwards.

add_enhanced_input_action_node

Additive Refused during PIE

Add an Enhanced Input action event node (UK2Node_EnhancedInputAction) bound to a UInputAction asset. Unlike add_input_action_event_node -- which creates the LEGACY UK2Node_InputAction that does NOT fire under Enhanced Input -- this node exposes the real ETriggerEvent exec pins (Triggered/Started/Ongoing/Canceled/Completed) that fire from the Enhanced Input pipeline. Use this instead of polling IsInputKeyDown in a timer; it is rebind-aware (bound to the InputAction asset, not a raw key).

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of an Actor/Pawn Blueprint.
input_action string yes Asset path (or short name) of the UInputAction to bind, e.g. "/Game/Input/IA_Crouch".
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted.
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, pins:[{name, direction, type, linked_to, default}], blueprint_name, graph_name, input_action, node_class } -- the created node WITH its freshly-allocated pins: ETriggerEvent exec outputs (Triggered/Started/Ongoing/Canceled/Completed) plus data outputs (ActionValue/ElapsedSeconds/TriggeredSeconds/InputAction). Wire it via connect_pins WITHOUT a follow-up get_graph_nodes.

add_event_dispatcher

Additive Refused during PIE

Create an event dispatcher (multicast delegate) on a Blueprint: adds BOTH the delegate member variable and its signature graph, the way the editor's "+ Event Dispatcher" does. It starts with NO parameters -- give it a signature with set_event_dispatcher_signature. Everything downstream needs the class REGENERATED first, so compile_blueprint before add_broadcast_node (to fire it) or add_graph_node node_type="add_delegate" / add_object_bound_event (to listen).

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
dispatcher_name string yes Name of the new event dispatcher; fails if a member variable of that name already exists

Returns: { blueprint_name, dispatcher_name, created } -- created is always true on success; confirm with get_event_dispatchers.

add_function_local_variable

Additive

Add a variable scoped to ONE function graph (interface-override graphs included), instead of a class member like add_blueprint_variable -- use it for scratch state that no other graph should see. Reach it from the graph with add_graph_node node_type=variable_get/variable_set and scope="local" (the default scope="auto" already prefers a local over a member of the same name). Inverse: remove_function_local_variable, whose reply lists the function's locals.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
function_name string yes Name of an existing function graph (FunctionGraphs or an interface-override graph)
variable_name string yes Variable name; the call fails if the name already exists in that function
variable_type string yes Type string: bool, int, int64, float, string, name, text, byte, Vector, or a struct/enum/class/object name or path
default_value string no Initial default value for the local variable, in exported-text form; optional

Returns: { blueprint_name, function_name, variable_name, variable_type } -- an echo of the request; local variables do NOT appear in get_blueprint_variables (which lists members), so verify from the graph itself.

add_function_parameter

Additive Refused during PIE

Add an input or output (return) parameter to an existing Blueprint FUNCTION graph -- interface-override graphs included --, to a MACRO graph (create_blueprint_macro), or an input to a CUSTOM EVENT (an RPC event included), and reconstruct its Entry/Result node, the macro's input/output tunnel or the event node. The name is looked up in that order: function, macro, custom event.

param_type takes a container: "int[]" or "Array<int>", "Set<Name>", "Map<Name,int>" (a hashable key); the reply's pin_type is read back from the pin made, so it shows the container that was really created. A macro also takes param_type "exec", an execution pin, so it can get several exec inputs and outputs. A custom event has inputs only, and one bound to an event dispatcher keeps the dispatcher's signature, so it is refused. On a Blueprint just given a new function, compile_blueprint between creation and this call. Inverse: remove_function_parameter; set_function_parameter_type changes the type of a parameter that exists.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
function_name string yes Name of an existing function graph (FunctionGraphs or an interface-override graph), else of a macro graph, else of a custom event of this Blueprint.
param_name string yes New parameter name; made unique, so the applied name is the one echoed back in the response.
param_type string yes Type string: bool, int, int64, float, string, name, text, byte, Vector, or a struct/enum/class/object name or path, optionally in a container: "int[]", "Array<int>", "Set<Name>", "Map<Name,int>"; "exec" on a macro.
is_output boolean no When true, add an output/return param (an input pin on the Result node) instead of an input; defaults to false. A custom event has inputs only.

Returns: { blueprint_name, function_name, param_name, param_type, pin_type, container, is_output, graph_kind? } -- param_name is the pin name actually created; pin_type and container ("none", "array", "set" or "map") are read from that pin; graph_kind is "macro" or "custom_event" when the parameter went there. Verify with get_graph_nodes at compact=false: compact hides the new, still-unlinked pin and makes it look like nothing was created.

add_graph_node

Additive Refused during PIE

Core tool: every client lists it by default.

Create one node in a graph and return it with its node_id and pins, ready for connect_pins and set_pin_default_value.

Works in Blueprint graphs (Animation and Widget Blueprints included) and in material, material function, sound cue, MetaSound Source, PCG graph and Control Rig graphs; build_blueprint_graph adds and wires several Blueprint nodes in one undo step. Every call adds a node, except event and custom_event, which return the existing one.

Names come from reads (list_overridable_functions, get_class_functions, get_blueprint_variables, list_structs, list_enums, get_blueprint_functions); get_function_pins previews a node's pins. Example: {"asset_path": "/Game/Blueprints/BP_Door", "node_type": "call_function", "function_name": "PrintString", "function_library": "KismetSystemLibrary"}.

In another asset node_type is that editor's node: a material expression class, a sound node (WavePlayer, Mixer, Random...), a MetaSound class (list_metasound_node_types), a PCG settings class (list_pcg_node_types), or a Control Rig unit; those assets are saved, a Control Rig compiled.

A Blueprint is compiled only with compile=true and never saved; refused during Play-in-Editor (see force). A non-overridable event name is an error; an interface function with a return value needs add_blueprint_function with override=true. Check class in the reply: an async or latent node that comes back as K2Node_CallFunction does nothing, though it compiles clean.

Parameter Type Required Description
asset_path string yes The graph asset: a Blueprint by name (resolved under /Game/Blueprints) or full path, or the path of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig. Pass the FULL path when a Blueprint short name is ambiguous: a bare name that matches two assets resolves to one of them silently.
node_type string yes In a Blueprint, one of event, custom_event, call_function, print_string, variable_get, variable_set, branch, sequence, self, cast, spawn_actor (alias spawn_actor_from_class), create_widget, make_struct, break_struct, get_array_item, select, make_array, make_set, make_map, switch_int, switch_string, switch_name, switch_enum, enum_literal, format_text, foreach, foreach_with_break, do_once, gate, flipflop, for_loop, while_loop, is_valid, add_delegate, macro_instance, get_component_by_class, or a graph node class (AnimGraphNode_Slot, /Script/AnimGraph.AnimGraphNode_SequencePlayer); for another asset, see the description
blueprint_name string no Older name of asset_path, still accepted.
sound_wave_path string no Sound cue, WavePlayer only: the sound wave it plays.
major_version number no MetaSound only: the node class's major version (default 1), as list_metasound_node_types gives it.
subgraph_path string no PCG only, with node_type=PCGSubgraphSettings: the PCG graph to embed.
node_name string no Control Rig only: the name to give the node (a taken name gets a suffix; the reply's node_id is the real one).
event_name string no Event name; required for event and custom_event node types (e.g. "ReceiveActorBeginOverlap", "ReceiveBeginPlay" for event)
function_name string no Function to call; required for call_function node type
target_class string no Class owning the function, or the cast/spawn/widget/component class; required for cast, create_widget and get_component_by_class. call_function searches it STRICTLY (a function not on it is an error) and accepts a BlueprintFunctionLibrary asset path. For variable_get/variable_set it makes a member-access node with a 'target' pin instead of a self node.
function_library string no Optional, call_function only: the library owning function_name, used instead of target_class: an engine library by name ("KismetMathLibrary", "GameplayStatics", U prefix optional) or a BlueprintFunctionLibrary asset path. Searched strictly, like target_class.
variable_name string no Variable to get/set; required for variable_get and variable_set
scope string no Optional scope hint for variable_get/variable_set: 'auto' (default; a function-local variable declared in the target graph wins, else a self/member variable), 'local' (function-local variable ONLY), or 'member' (member variable only -- self, or on target_class when supplied). Ignored by other node types.
struct_type string no Struct type; required for make_struct and break_struct nodes: a UScriptStruct path (/Game/.../S_Foo.S_Foo), bare name, or engine alias (Vector/Rotator/Transform...)
enum_path string no Enum path or name; required for switch_enum and enum_literal nodes. Optional for select: the enum then drives the Index pin and one option pin is generated per enum entry.
index_type string no Optional alias of enum_path for node_type=select.
option_count number no Optional, select only: total number of option pins to end up with (default the built-in 2; ignored when an enum drives the index).
num_inputs number no Optional input-pin count for make_array/make_set/make_map (added after spawn)
cases string no Optional string array of case pins for switch_int/switch_string/switch_name
arguments string no Optional string array of argument names for format_text
dispatcher string no Event-dispatcher name; required for add_delegate. Must exist in the COMPILED class (add_event_dispatcher + compile_blueprint); binds on self only (another class: add_object_bound_event).
macro_graph_name string no Macro graph name; required for node_type=macro_instance. Resolved in this Blueprint's MacroGraphs, then the engine StandardMacros; "<library-path>:<MacroGraphName>" resolves it in that macro library.
macro_library string no Optional, macro_instance only: asset path of a macro LIBRARY Blueprint to resolve macro_graph_name in -- the only way to reach a third-party or project macro library.
macro_source string no Set to "standard_macros" to skip this Blueprint's own MacroGraphs and resolve macro_graph_name only in the engine StandardMacros library. Only read for node_type=macro_instance.
compile boolean no Optional bool, default false: compile the Blueprint after placing the node. Ignored inside build_blueprint_graph, which never compiles its steps.
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, class, title, pos_x, pos_y, comment, pins: [{ name, direction, type, linked_to, default }], blueprint_name, graph_name, compiled, plus the fields of its node_type } -- event: event_name, is_override (true for a live override), already_exists; custom_event: event_name, node_title, already_existed; cast: cast_to; call_function: function_library, function; make_struct and break_struct: struct_type; select: index_pin, return_value_pin, option_pins, option_count, index_enum; macro_instance: input_pins, output_pins; get_component_by_class: component_class, return_pin_type (when it does not name the class, the pin stayed generic).

add_input_action_event_node

Additive Refused during PIE

Add the LEGACY action-mapping event node (UK2Node_InputAction) bound to an action mapping NAME, and compile. WARNING: this node does NOT fire under Enhanced Input, which is what UE5 projects use -- it compiles clean and simply never runs. For an Enhanced Input action asset use add_enhanced_input_action_node, whose Triggered/Started/Completed pins actually execute. Only reach for this one on a project still using the legacy input mappings.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of an Actor/Pawn Blueprint (SupportsInputEvents is enforced).
input_action_name string yes Name of the LEGACY action mapping. It is not validated against the project's mappings: a typo yields a node that never fires.
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, class, title, pins:[Pressed, Released, Key], blueprint_name, graph_name, input_action_name, node_class } -- node_class should read K2Node_InputAction (the legacy node); nothing here proves the mapping exists.

add_object_bound_event

Additive Refused during PIE

Bind a BlueprintAssignable event dispatcher of an EXTERNAL object (not self, not a component) to a handler custom event -- the editor's right-click "Assign" flow (FEdGraphSchemaAction_K2AssignDelegate). Use this to react to a dispatcher on a widget/actor instance held in a variable (e.g. a UMG widget's "On Radial Menu Item Selected"): it spawns a UK2Node_AddDelegate bound to target_class' dispatcher with its self/target pin LEFT UNCONNECTED (you wire the instance) and a UK2Node_CustomEvent whose OUTPUT pins mirror the dispatcher's params (e.g. the segment-data struct), already wired to the AddDelegate's Delegate pin. Unlike the add_delegate node_type (self-context only), this reaches a dispatcher on a foreign class. Does NOT compile the Blueprint (mirrors the engine action); compile afterward.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of the Blueprint being edited (the object that will bind the event, e.g. the hub component BP).
target_class string yes The EXTERNAL class that owns the dispatcher. Accepts a Blueprint/widget short name, a full asset path, a full class path (/Game/.../WBP.WBP_C), a native /Script path, or the generated "..._C" class name. Prefer a full path or the "_C" class for reliable resolution.
dispatcher_name string yes The multicast delegate (event dispatcher) property to assign. Matched tolerantly: exact name, spaces stripped, or the display name (so "On Item Selected" resolves to the spaceless FName). On failure the error lists the assignable delegates found on target_class.
event_name string no Optional desired name for the handler custom event; made unique in the Blueprint. Defaults to "<Dispatcher>_Event".
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted.
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { blueprint_name, graph_name, target_class, dispatcher, add_delegate_node_id, custom_event_node_id, custom_event_name, wired, node_id, pins:[...] (the AddDelegate node's pins -- wire 'self'/Target = the widget instance and 'execute'/'then' into your exec flow), custom_event:{ node_id, pins:[...] } (hang handler logic off its 'then'/'output_delegate' and read the dispatcher's param output pins) }

add_parent_call_node

Additive Refused during PIE

Add a "Parent: <Function>" node that calls the parent-class implementation of an overridden function/event -- the second half of the child-first shape "Event X -> Parent: X -> our logic" that keeps a vendor base class working while the child adds behaviour. Searches the WHOLE ancestor chain, not just the immediate parent. Does NOT compile, and IS allowed inside build_blueprint_graph, so the event + super + logic can be built in one transaction.

Parameter Type Required Description
blueprint_name string yes Blueprint whose parent function is called
function_name string yes Name of the overridden function/event whose parent implementation to call; must exist on some ancestor or the call errors
graph_name string no Target graph (usually the override's own graph); defaults to the event graph
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, class, title, pins:[execute, then, the parent's params], blueprint_name, graph_name, function_name, parent_class } -- parent_class names the ancestor that actually declares the implementation being called.

add_reroute_node

Additive Refused during PIE

Add a reroute/knot node: pure layout, it re-emits whatever is wired into it and changes no behaviour. Does NOT compile. Note when reading graphs back: get_graph_nodes with compact=true excludes knots by default, so a chain that looks broken there may simply route through one -- re-read with exclude_classes=[].

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of the Blueprint.
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, class, title, pins:[...wildcard in/out until wired...], blueprint_name, graph_name }

add_timeline_to_blueprint

Additive Refused during PIE

Add a Timeline to an Actor Blueprint: creates BOTH the UTimelineTemplate variable and its UK2Node_Timeline node in one call, sets a fixed length in seconds, compiles, and verifies the template really registered (timeline_created). Actor-derived Blueprints only. It authors no curves or tracks itself -- the node comes with Play/Stop/Reverse inputs and Update/Finished outputs and nothing driven; add tracks with add_blueprint_timeline_track and read them with get_blueprint_timeline_info. A requested name already in use is silently uniquified, so wire the RETURNED timeline_name.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of an Actor Blueprint.
timeline_name string yes Desired variable name for the timeline; if it is taken, a unique one is generated and returned instead.
length number no Timeline length in seconds (sets fixed-length mode); defaults to 5.0
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, class, title, pins:[...], blueprint_name, graph_name, timeline_name, length, timeline_created, timeline_guid } -- timeline_name is the name ACTUALLY used and timeline_created is a post-compile re-lookup of the template, so false means the variable did not survive.

apply_material_to_blueprint

Destructive Refused during PIE

Assign a material ASSET to one slot of a Blueprint component TEMPLATE (an OWN SCS node, not a placed actor) -- the persistent counterpart of set_mesh_material_color, which only builds a runtime dynamic instance. Does NOT compile and does NOT save. Actors ALREADY placed in a level keep their serialized material: change the template and the placed instances stay as they were.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint
component_name string yes Name of an OWN SCS component; must be a UPrimitiveComponent
material_path string yes Asset path of the UMaterialInterface (material or material instance) to assign; a path that does not load is an error
material_slot integer no Optional material slot index; defaults to 0. It is not range-checked against the mesh's slot count.

Returns: { blueprint_name: string, component_name: string, material_path: string, material_slot: int, success: bool } -- material_path is read back from the slot; success is false when the slot does not hold the material afterwards.

attach_blueprint_component

Destructive Idempotent Refused during PIE

Re-parents a component already in a Blueprint's Components tree (an SCS component), at an optional socket or bone: under another SCS component, under a native scene component inherited from a C++ parent (e.g. ACharacter's "CharacterMesh0", so its sockets are reachable), or under the scene root when parent_component_name is omitted or "root". The Blueprint is then compiled and left unsaved (save_asset writes it); the call is one undo step that restores the previous parent and socket. Idempotent: a component already under that parent with the same socket returns already_attached true and nothing is recompiled. Refused with nothing changed when the Blueprint, the component or the parent is not found, or when the parent is the component itself or one of its descendants. Refused while Play-in-Editor runs unless force=true. To add a new component use add_component_to_blueprint (inverse: remove_component_from_blueprint); read the tree with get_blueprint_components; for actors placed in a level use attach_actor.

Parameter Type Required Description
blueprint_name string yes Blueprint asset path (e.g. "/Game/Characters/BP_Hero") or bare asset name, looked up under /Game/Blueprints first and then anywhere under /Game.
component_name string yes Variable name of the SCS component to move (the child), as get_blueprint_components lists it; inherited native components cannot be moved.
parent_component_name string no Optional parent component name, as get_blueprint_components lists it; omit / "root" / the native root name attaches to the scene root. May also name a NATIVE inherited scene component (e.g. "CharacterMesh0") to parent the child natively to it.
socket_name string no Optional socket or bone name on the parent (AttachToName), e.g. "hand_r"; not checked against the parent's mesh, and omitting it clears any socket.

Returns: { blueprint_name, component_name, parent, parent_is_native, attach_socket, already_attached }

build_blueprint_graph

Destructive Refused during PIE

Pack blueprint_authoring: enable_toolset adds it to a client's list (tool lists).

Build several nodes, wire their pins, and set pin defaults in one pass, wrapped in a single undo transaction -- the way to author a whole graph shape without create -> get_graph_nodes -> connect round-trips (get_function_pins gives you the pin names up front). THE ORDER IS FIXED AND MATTERS: every node first, then ALL connections, then pin_defaults -- so a node whose TYPE depends on a pin default (a generic GetComponentByClass) is connected while still untyped, fails with "... is not compatible with ..." and, under stop_on_error's default true, takes the whole call down; use add_graph_node node_type="get_component_by_class", which is born typed. add_comment_node has no pins at all, so a pin_defaults entry aimed at one also kills the batch. Self-contained: each sub-step runs its command directly, never through the bridge (only these: add_graph_node, add_timeline_to_blueprint, add_component_bound_event, add_input_action_event_node, add_enhanced_input_action_node, add_reroute_node, add_comment_node, add_parent_call_node, add_broadcast_node, add_object_bound_event), and no step compiles: an add_graph_node step's compile param is ignored, so compile_blueprint once afterwards.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
nodes array yes [{id: string, command_type: string, params?: object}, ...] (required, non-empty). 'id' is a caller-chosen local key used to reference the node from 'connections'/'pin_defaults'; 'params' is that command's own param object (blueprint_name/graph_name are auto-filled if omitted). WORKED EXAMPLE (print "hi" on BeginPlay, one call): nodes=[{"id":"beg","command_type":"add_graph_node","params":{"node_type":"event","event_name":"ReceiveBeginPlay"}},{"id":"print","command_type":"add_graph_node","params":{"node_type":"print_string"}}], connections=[{"from_node":"beg","from_pin":"then","to_node":"print","to_pin":"execute"}], pin_defaults=[{"node":"print","pin":"InString","value":"hi"}]. Pin names for a call_function node are knowable up front via get_function_pins (so no create->get_graph_nodes->connect round-trips). Child-override canonical shape (call the parent first), one call: nodes=[{"id":"evt","command_type":"add_graph_node","params":{"node_type":"event","event_name":"ReceiveBeginPlay"}},{"id":"super","command_type":"add_parent_call_node","params":{"function_name":"ReceiveBeginPlay"}}], connections=[{"from_node":"evt","from_pin":"then","to_node":"super","to_pin":"execute"}]. NOTE on add_object_bound_event: it creates TWO nodes; the step's local 'id' resolves to the UK2Node_AddDelegate (wire the external instance into its 'self' pin and the exec flow into 'execute'), while the handler custom event is addressable as "<id>.custom_event" and its real NodeGuid is echoed back as custom_event_node_id.
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
connections array no [{from_node, from_pin, to_node, to_pin}, ...]; from_node/to_node may be a local 'id' from 'nodes' (or "<id>.custom_event" for an add_object_bound_event step's handler event) or a pre-existing real NodeGuid.
pin_defaults array no [{node, pin, value}, ...]; node may be a local 'id' from 'nodes' (or "<id>.custom_event") or a pre-existing real NodeGuid.
stop_on_error boolean no Stop (and try to roll back the whole transaction) on the first failing step; defaults to true, unlike batch's default false, since connections/pin_defaults depend on earlier nodes existing. With stop_on_error:false there is NO rollback at all -- the editor's global undo is never touched, every step is attempted, and whatever half-built shape remains is cleaned up with remove_graph_node/disconnect_pin. That is the safer mode when other work is live in the editor's undo buffer.

Returns: { blueprint_name, graph_name, nodes: [{index, id, command_type, ok, node_id?, custom_event_node_id?, error?}], connections: [{index, ok, error?}], pin_defaults: [{index, ok, error?}], stopped_early, rollback_required, rolled_back, transaction_opened, undo_queue_len_before, undo_queue_len_after, top_transaction_title, rollback_refused_reason?, warning? }. rolled_back reports whether the undo ACTUALLY ran, not the intention: the rollback is refused (rolled_back:false + rollback_refused_reason + warning) whenever the top of the editor's undo stack is not this call's own transaction, because GEditor->UndoTransaction is global and would otherwise revert another agent's or another session's work in memory while the disk stays clean. A payload that fails pre-validation returns instead { success:false, error, validation_errors: [{section, index, id?, error}], transaction_opened:false, blueprint_name, graph_name } and never opens a transaction.

compile_blueprint

Destructive Refused during PIE

Core tool: every client lists it by default.

Compile a Blueprint to regenerate its class and return the real outcome: succeeded is true only with zero errors, with the error and warning counts and, on request, every compiler message tied to its node.

Compile after adding nodes, functions, variables or RPCs, before anything calls them or Play-in-Editor starts. To check errors without compiling: check_blueprint_errors, find_erroring_blueprints. It does not save (save_asset).

Prefer the full path from find_assets_by_name: a short name shared by two assets compiles one of them. With return_messages each message carries the node_id and graph that get_graph_nodes and remove_graph_node take.

Blocks the editor; dependents are recompiled, instances reinstanced and a garbage collection runs, so other packages can end up dirty. Undo does not revert a compile: compile again after an undo. Refused during Play-in-Editor, whose reinstancing kills the editor when PIE stops; force=true compiles anyway.

num_errors 0 does not prove the graph works: an unresolved wildcard pin on an array or ForEach node can compile clean and still block PIE, and a "was pruned" warning means consumers read defaults, so read the warnings too.

Parameter Type Required Description
blueprint_name string yes The Blueprint's short name or its full asset path (e.g. /Game/MyGame/Core/BP_MyActor).
return_messages boolean no Optional, default false: also return every compiler message, each tied to its node. The outcome fields come back either way.

Returns: { name, compiled, succeeded, num_errors, num_warnings, messages?: [{ severity: 'error'|'warning'|'note', text, node_id, node_title, graph_name }] } -- messages only with return_messages; the node fields are empty for a message tied to no node.

connect_pins

Destructive Refused during PIE

Core tool: every client lists it by default.

Link one node's output pin to another node's input pin, in a Blueprint graph (Animation and Widget Blueprints included) or in the graph of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig.

Node ids and pin names come from add_graph_node or get_graph_nodes. Not for: testing a pair (validate_pin_connection), unlinking (disconnect_pin), or several Blueprint nodes in one undo step (build_blueprint_graph). Refused during Play-in-Editor (see force).

Example: {"asset_path": "/Game/Blueprints/BP_Door", "source_node_id": "<Branch node_id>", "source_pin": "then", "target_node_id": "<PrintString node_id>", "target_pin": "execute"}. @input and @output stand for the graph's own input and output: target_node_id "@output" with target_pin "BaseColor" feeds a material's main input; on a sound cue @output makes the source the cue's first node and target_pin is the parent's input slot index (empty: first free).

In a Blueprint the schema type-checks the pair (AnimGraph pose links included); an incompatible pair is an error. Linking an already-linked exec output or data input replaces its link; one undo step per call. Wildcard nodes are reconstructed to take the linked type. A Blueprint is not compiled or saved (compile_blueprint, save_asset); the other assets are saved by their editor, and a Control Rig compiled.

Parameter Type Required Description
asset_path string yes The graph asset: a Blueprint by name or path, or the path of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig.
source_node_id string yes node_id of the source node, or @input (from add_graph_node / get_graph_nodes).
source_pin string yes Output pin name on the source node (e.g. "then", "ReturnValue"; a material output name, empty for the first). In a Blueprint an output pin of that name is preferred and any pin with the name is accepted as a fallback.
target_node_id string yes node_id of the target node, or @output.
target_pin string yes Input pin name on the target node (e.g. "execute", "Condition"; a material input name without spaces; a sound cue slot index).
blueprint_name string no Older name of asset_path, still accepted.
graph_name string no Blueprint only: the graph, default the event graph ("AnimGraph" for an Animation Blueprint's anim graph). BOTH nodes must live in this same graph. The other assets have one graph: leave it out.

Returns: { connected, source_node_id, target_node_id, graph_kind? } -- a failed link is an error, so connected is true in every Blueprint reply; another asset answers with its editor's own reply, saved included.

create_blueprint

Additive Refused during PIE

Pack blueprint_authoring: enable_toolset adds it to a client's list (tool lists).

Create a new Blueprint asset, optionally as a child of ANY parent class -- native or another Blueprint (pass its "..._C" class or asset path) -- and save it to disk immediately unless PIE is running or save=false. This is also the way to make the framework classes (a GameMode, GameState, PlayerController, PlayerState, GameInstance or HUD Blueprint: pass that class as parent_class) and Blueprint subsystems (parent_class a USubsystem class such as "GameInstanceSubsystem"; lifetime says which family), and it makes Blueprint Function Libraries and Macro Libraries, which have no Actor parent and which the normal path would reject. It does NOT create interfaces (create_blueprint_interface). A plain Blueprint already at the path is returned unchanged with already_exists=true and saved=false, nothing saved and blueprint_type not applied -- when parent_class is given, only if its parent is parent_class or derives from it, otherwise it is an error and nothing is changed; another asset class there (a Widget or Anim Blueprint included) is an error and nothing is created. It never confirms the parent of a new Blueprint: read it back with get_blueprint_parent.

Parameter Type Required Description
name string yes Blueprint name. Either a bare name (created under 'path' or /Game/Blueprints/) OR a full content path ("/Game/MyGame/Systems/World/BP_Foo"); an object-path form ("/Game/.../BP_Foo.BP_Foo") is also accepted.
parent_class string no Optional parent class. Accepts a native name ("Actor", "Pawn", "Character", "GameModeBase", "PlayerController", "GameInstanceSubsystem", "BlueprintFunctionLibrary"), a "/Script/Module.Class" path, a Blueprint generated-class path ("/Game/.../BP_X.BP_X_C"), or a Blueprint asset path ("/Game/.../BP_X"). Defaults to AActor. Passing "BlueprintFunctionLibrary" makes a Function Library. When given, a Blueprint already at the path must have it (or a subclass of it) as parent.
blueprint_type string no Optional Blueprint type override: "normal" (default), "function_library" (a UBlueprintFunctionLibrary of static functions; parent_class is ignored/forced), or "macro" (a Macro Library; keeps parent_class or defaults to Actor). Function-library is also auto-detected from parent_class="BlueprintFunctionLibrary".
path string no Optional target content folder ("/Game/MyGame/Systems"). Used only when 'name' is a bare name; ignored when 'name' is already a full path.
save boolean no Optional bool (default true). false registers the new Blueprint and marks its package dirty without saving it -- persist it later with save_asset.

Returns: { name: string, path: string, package_path: string, parent_class: string, generated_class: string, blueprint_type: string, already_exists: bool, saved: bool (false for a Blueprint already there: nothing saved), save_error?: string, note?: string, is_multiplayer?: bool, lifetime?: string } -- parent_class is, for a new Blueprint, what was REQUESTED and resolved, not proof the asset carries it (confirm a child's real parent with get_blueprint_parent), and for one already there its own parent. is_multiplayer appears for a GameMode (true when the parent derives from AGameMode); lifetime for a subsystem (Editor, Engine, GameInstance, World, LocalPlayer or Unknown). saved:false is honest: it carries save_error when PIE was running or the Blueprint already there has unsaved changes, and a note when save=false or an existing Blueprint is returned unchanged -- an unsaved Blueprint exists only in the editor and a later compile on it also returns success.

create_blueprint_from_actors

Destructive Refused during PIE

Pack blueprint_authoring: enable_toolset adds it to a client's list (tool lists).

Turn actors placed in the level into a reusable Blueprint asset, as the editor's Convert Selection to Blueprint Class does, and by default put one instance of it where they stood.

For an empty Blueprint use create_blueprint; to add a component to an existing one, add_component_to_blueprint.

mode harvest (default) copies every actor's components into one Actor Blueprint and drops the actors' classes: Blueprint logic does not come along (logic_not_carried), components a Blueprint cannot hold are skipped (skipped_components), and copied scene components become Movable. child_actors keeps each actor whole as a Child Actor component. subclass makes a child of one actor's class with its edited values as defaults.

The origin is the actors' average location, unrotated (one actor: its transform). replace_actors removes the actors and spawns one selected instance in their place; the call fails when its bounds differ from theirs by more than 1 cm. The level is left unsaved (save_level). One undo step brings the actors back; the asset stays (delete_asset).

Nothing changes when Play-in-Editor runs, an undo transaction is open, an asset exists at the path, an actor is missing or its label is shared, the actors are in different levels, or the mode does not fit them. Example: {"actor_names": ["Table", "Lamp"], "name": "BP_TableSet", "path": "/Game/Props"}.

Parameter Type Required Description
actor_names array yes Required array of the actors to convert, each by name or by label (a label several actors share is an error), all in one level of the editor world.
name string yes Required Blueprint name: a bare name goes under path (default /Game/Blueprints), a full content path ("/Game/Props/BP_TableSet") is used as it is. No asset may exist there yet.
path string no Optional content folder for a bare name.
mode string no Optional: "harvest" (default; the components only, in one Actor Blueprint), "child_actors" (each actor whole, as a Child Actor component) or "subclass" (exactly one actor; a child of its class).
parent_class string no Optional parent class, named as in create_blueprint. harvest and child_actors default to Actor and take any Actor class; subclass defaults to the actor's class and takes only that class or a child of it.
replace_actors boolean no Optional bool, default true: remove the actors and place one instance of the Blueprint where they stood. false leaves the level as it is.
save boolean no Optional bool, default true: save the new Blueprint. false leaves it in memory with unsaved changes, for save_asset.

Returns: { name: string, path: string, package_path: string, mode: string, parent_class: string, generated_class: string, compiled: bool, saved: bool, file_on_disk: bool, save_error?: string, source_actors: [{name, label, class}], components: [{name, class}] (the Blueprint's own construction-script components; a subclass also has its parent's), skipped_components: [{actor, component, class}], logic_not_carried: [{actor, class}], replaced: bool, new_actor?: {name, label, location}, removed_actors: [string], placement: {checked: bool, offset_cm?: number, reason?: string}, note?: string }

create_blueprint_macro

Additive Idempotent

Create an EMPTY, Tunnel-terminated macro graph owned by this Blueprint's MacroGraphs (a reusable snippet, not a function: macros inline at compile time and can carry multiple exec outputs). Idempotent -- an existing macro of that name is returned with already_existed:true. Fill it with add_graph_node using graph_name=<macro>, then instantiate it with add_graph_node node_type="macro_instance", which finds the Blueprint's own macros. Give it inputs and outputs (exec included) with add_function_parameter function_name=<macro>; inverse: remove_blueprint_macro.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
macro_name string yes Name for the new macro graph.

Returns: { blueprint_name, macro_name, graph_name, already_existed } -- graph_name is what to pass as graph_name / macro_graph downstream.

create_editor_utility_blueprint

Additive Idempotent Refused during PIE

Create an Editor Utility Blueprint at package_path/name with the editor factory, parented to parent_class, then compile and save it. Idempotent by path: an Editor Utility Blueprint already there is returned as it is (created=false, already_existed=true, saved=false), nothing compiled or saved, with the parent_class it really has; the requested parent_class is not applied to it. A parent_class that does not resolve or cannot back a Blueprint, another kind of asset at that path, or an invalid path is an error and nothing is created. A failed save makes success false with save_error and keeps the new asset in memory. Refused during PIE unless force=true. A tool with a UI panel: create_editor_utility_widget_blueprint. Right-click actions are made here too: parent_class "AssetActionUtility" (Content Browser assets) or "ActorActionUtility" (level actors) -- their CallInEditor functions become the actions.

Parameter Type Required Description
package_path string yes Content folder for the asset, e.g. "/Game/EditorUtilities"; a trailing slash is ignored.
name string yes Asset name without path or extension, e.g. "EUB_BatchRename".
parent_class string no Parent class by name without the U or A prefix, e.g. "EditorUtilityActor", or by path such as "/Script/Blutility.EditorUtilityObject" (default EditorUtilityObject); it must be Blueprintable.

Returns: { name, package_path, asset_path, blueprint_class, parent_class, created, already_existed, saved, save_error? }

create_editor_utility_widget_blueprint

Additive Idempotent Refused during PIE

Create an Editor Utility Widget Blueprint at package_path/name with the editor factory, parented to UEditorUtilityWidget, give it a CanvasPanel root named RootCanvas when the factory made no root, then compile and save it. Idempotent by path: an Editor Utility Widget Blueprint already there is returned as it is (created=false, already_existed=true, saved=false), nothing compiled or saved, with the parent_class and root it really has. Another kind of asset at that path, or an invalid path, is an error and nothing is created. A failed save makes success false with save_error and keeps the new asset in memory. Refused during PIE unless force=true. Open it as a tab with run_editor_utility_widget; find them with list_editor_utility_widgets; a plain Widget Blueprint is create_widget_blueprint.

Parameter Type Required Description
package_path string yes Content folder for the asset, e.g. "/Game/EditorUtilities"; a trailing slash is ignored.
name string yes Asset name without path or extension, e.g. "EUW_LevelTools".

Returns: { name, package_path, asset_path, blueprint_class, parent_class, root_widget, root_widget_class, created, already_existed, root_created, saved, save_error? }

disconnect_pin

Destructive Refused during PIE

Pack blueprint_authoring: enable_toolset adds it to a client's list (tool lists).

Break the links of one pin, in a Blueprint graph or in the graph of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig. Without linked_node_id it breaks every link of the pin; with linked_node_id and linked_pin only the link to that other end. On a material, sound cue and MetaSound name the INPUT end, which holds one link: node_id=@output with pin_name=BaseColor clears a material's main input, and on a MetaSound @output names a graph output. A PCG input can hold several links, so on a PCG graph linked_node_id and linked_pin are required. On a sound cue node_id is the parent node and pin_name its input slot index. Main Blueprint use: clearing links to nodes that no longer exist after a failed or refused build_blueprint_graph rollback (get_graph_nodes with compact=false shows them as linked_to entries with dead GUIDs). To remove the whole node, use remove_graph_node. A Blueprint is not compiled or saved; the other assets are saved by their editor.

Parameter Type Required Description
asset_path string yes The graph asset: a Blueprint by name or path, or the path of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig.
node_id string yes node_id of the node owning the pin (from add_graph_node / get_graph_nodes), or @output
pin_name string yes Pin name, in either direction in a Blueprint; the input end elsewhere
blueprint_name string no Older name of asset_path, still accepted.
linked_node_id string no Optional: the node at the other end of the one link to break (in a Blueprint, its NodeGuid); without it every link of the pin breaks
linked_pin string no Optional, with linked_node_id: the pin at the other end
graph_name string no Blueprint only: the graph, default the event graph ("AnimGraph" for an Animation Blueprint's anim graph). The other assets have one graph: leave it out.

Returns: { disconnected, node_id, pin_name, links_broken?, graph_kind? } -- for another asset than a Blueprint the reply is its editor's own, saved included

find_blueprint_node_references

Read-only

"Find in Blueprints" over MCP: locate every Blueprint NODE that references a symbol -- variable, function, event, custom event, multicast delegate, macro, timeline, cast target, component, or a class/object in a pin default -- across a content path, returning each hit's asset, graph chain, node_id, title, match_kind and RESOLVED declaring class (resolved:false = a name-only guess). READ-ONLY. THE RULE FOR READING A ZERO: matches_found:0 only measures NON-EXISTENCE when assets_hit_prefilter_without_graph_match comes back EMPTY -- if it names assets, the symbol's string IS in those packages, so either the real name is spelled differently or the reference lives outside a graph (component template, property default). Check coverage_complete too: a truncated, timed-out or capped scan proves nothing. Blind by construction: Level Script Blueprints inside a .umap, and C++ callers.

Parameter Type Required Description
symbol string no Required (unless component_name is given): the name to look for, matched EXACTLY (variable/function/event/macro/class/component name). A misspelling returns 0 with a full-coverage report -- see assets_hit_prefilter_without_graph_match before believing it.
component_name string no Optional: search for an actor COMPONENT by name; implies mode="component" and, with owner_blueprint, also matches GetComponentByClass/Cast pins that target the component's class.
owner_blueprint string no Optional: Blueprint that DECLARES component_name (asset name or path); required to resolve the component's class for the class-pin matching.
mode string no Optional (default "auto"): auto|all|variable|function|event|delegate|macro|component|class|pin_default. Filters which match kinds are returned; an unrecognized value returns everything and sets mode_recognized=false.
path string no Optional (default "/Game"): content path root to scan.
recursive boolean no Optional (default true): recurse into subfolders of path.
exclude_paths array no Optional: array of package-path prefixes to skip (e.g. ["/Game/VendorPack/Demo"]).
include_paths array no Optional: array of package-path prefixes to restrict the scan to (applied after path).
prefilter boolean no Optional (default true): byte-scan the .uasset name map before loading. Turning it OFF loads every Blueprint under path (slow, but the ground truth to compare against).
case_sensitive boolean no Optional (default false): case-sensitive symbol matching (both the byte prefilter and the node classifier).
include_pin_defaults boolean no Optional (default true): also report pin defaults / pin types that name the symbol, on nodes with no structural match.
include_node_json boolean no Optional (default false): embed the full NodeToJson serialization of each matching node.
include_pins boolean no Optional (default false): when include_node_json is on, include the node's pins.
max_assets number no Optional (default 20000): hard cap on candidate assets examined.
max_matches number no Optional (default 200): stop after this many matches (sets truncated=true).
max_seconds number no Optional (default 60): wall-clock budget; on expiry the scan stops and timed_out=true.

Returns: { symbol, mode, mode_recognized, path, recursive, prefilter_enabled, component_class, component_declared_in, assets_in_path, assets_scanned, assets_prefiltered_out, assets_prefilter_unavailable, assets_prefilter_bypassed_dirty, assets_loaded, assets_load_failed, assets_with_matches, graphs_visited, nodes_visited, foreign_subgraphs_skipped, matches_found, truncated, timed_out, coverage_complete, elapsed_ms, assets_hit_prefilter_without_graph_match:[string], notes:[string], matches:[{asset_name, asset_path, package_name, graph, graph_chain, graph_kind, node_id, node_class, node_title, match_kind, member_name, declaring_class, resolved, is_component_ref, is_interface_call, exact, detail, pin, pin_value, node?}], success }

fork_class_chain

Destructive Refused during PIE

One-call thin-fork + optional reparent + verify: collapses the create->reparent->verify pattern into a single call. It creates a NEW thin child Blueprint of base_class at fork_name (the seam you insert between a shared-library base and your own class), optionally tags it with the fork-origin metadata tag (project setting ForkOriginTag), saves it, and then -- only if reparent_target is given -- reparents that existing Blueprint onto the new fork through the guarded reparent_blueprint path (snapshot + compile flags + post-check + rollback) and reports its verification. WARNING: no durable backup is taken -- the rollback is in-memory only, so call backup_asset yourself first if you want a rollback-to-disk safety net.

Parameter Type Required Description
fork_name string yes Name or full /Game path for the NEW thin child Blueprint to create.
base_class string yes Parent class for the new fork (native /Script, /Game/.../BP.BP_C, or a BP asset path).
path string no Optional folder for fork_name when it is a bare name (default /Game/Blueprints).
fork_origin string no Optional: value stored in the fork's fork-origin metadata tag (project setting ForkOriginTag, default 'mcp.forkOrigin'), recording its fork lineage.
reparent_target string no Optional: an existing Blueprint to reparent onto the new fork.
auto_rollback boolean no Optional (default true): forwarded to the safe reparent of reparent_target.
rename_colliding_vars boolean no Optional (default false): forwarded to the safe reparent of reparent_target.

Returns: { fork_name, fork_path, fork_generated_class, base_class, already_exists, fork_origin_set, saved, save_error?, reparent:{...safe-reparent result...}|null, verification, verification_checks, error?, success }

get_actor_material_info

Read-only

List the material slots of an actor PLACED IN THE EDITOR WORLD, one row per slot per StaticMeshComponent, with the material actually assigned (name, path, class) or "None". Scope limits worth knowing: it only walks UStaticMeshComponents (a skeletal mesh's slots are invisible here) and only the EDITOR world (no PIE selector), and the actor is matched by its object NAME, not its outliner label. The Blueprint-template twin is get_blueprint_material_info.

Parameter Type Required Description
actor_name string yes Object name of the actor in the EDITOR world (GetName(), not the display label shown in the outliner)

Returns: { actor_name: string, material_slots: [{ slot, component, material_name, material_path, material_class }], total_slots: int } -- total_slots 0 means no StaticMeshComponent had slots, NOT that the actor has no materials.

get_ai_perception_senses

Read-only

Read back the senses configured on an AIPerceptionComponent TEMPLATE of a Blueprint: for each one its config class plus the fields that matter (sight radius / lose-sight radius / peripheral angle, or hearing range) and the three affiliation filters. This is the verification step for add_ai_perception_sense. It reads the OWN SCS template, so an AIPerception component inherited from a parent Blueprint is not found, and a config class other than Sight or Hearing comes back with sense_type "unknown" and no fields.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint owning the component
component_name string yes Name of an OWN SCS AIPerceptionComponent node; another component type is an explicit error

Returns: { blueprint_name, component_name, senses: [ { config_class, sense_type, sight_radius|hearing_range, ... , detect_enemies, detect_neutrals, detect_friendlies } ], sense_count } -- sense_count 0 means the template has no configured sense, which is also what an AI that never perceives anything looks like.

get_available_materials

Read-only

Enumerate material assets under a content path and return each one's name, object path, package and class -- the object path is what apply_material_to_blueprint / set_actor_material expect. One Asset Registry query on UMaterialInterface and all its subclasses (materials, material instances, project or plugin material classes); nothing is loaded, so a wide path is cheap. For one known name prefer resolve_asset_by_name.

Parameter Type Required Description
search_path string no Optional content path filter (e.g. "/Game/Materials"); empty/absent means the whole project and is reported back as "/Game/"
include_engine_materials boolean no When true, also include /Engine/ materials; defaults to true, so the list is large unless a search_path narrows it

Returns: { materials: [{ name, path, package, class }], count: int, search_path_used: string } -- there is no truncation flag: count is everything that matched.

get_blueprint_component_object_path

Read-only

Resolve a Blueprint component's TEMPLATE archetype and return its object path, so get_properties/set_properties/call_function can target that component directly.

Parameter Type Required Description
blueprint_name string yes Name/path of the Blueprint that owns the component.
component_name string yes Component variable name. Resolves an OWN SCS component (the _GEN_VARIABLE archetype on USCS_Node::ComponentTemplate) or an INHERITED/native component (the like-named subobject on the generated-class CDO).

Returns: { object_path: string, class: string, source: 'scs'|'inherited' } -- object_path is GetPathName() (feed it to get_properties / set_properties); class is the component class' full path.

get_blueprint_component_property

Read-only

Read the EFFECTIVE default of a property (or, without property_name, ALL properties) on a Blueprint component TEMPLATE as typed JSON, resolving components INHERITED from a parent/grandparent Blueprint. Use it rather than get_object_info on one template's path, which reads that template alone and misses inherited SCS components and their ICH overrides. Order: own SCS template -> nearest existing ICH override -> ancestor's declaring SCS template -> native CDO subobject; source says which. NEVER mints an ICH override. group_by_field flags duplicate keys in an array of structs. Write: set_blueprint_component_properties.

Parameter Type Required Description
blueprint_name string yes Blueprint asset path or short name
component_name string yes Component variable name (own or inherited)
property_name string no Property to read; omit to return ALL properties of the resolved template
include_inherited boolean no Also resolve inherited/ICH/native components (default true); when false only this Blueprint's own SCS components are considered
group_by_field string no Optional. Only with property_name pointing at a TArray of STRUCTS: group the elements by this struct member and report duplicate_groups[]/empty_key_indices[]/has_duplicates. Two elements sharing a key is invisible in a plain value dump, yet when that array feeds a TMap the LAST one silently wins (Map.Add overwrites) -- this is the guardrail for exactly that class of bug.
report_duplicates boolean no Optional bool. Implied true when group_by_field is given; pass true WITHOUT group_by_field to group by the WHOLE element value instead of one member.

Returns: { blueprint_name: string, component_name: string, component_class: string, source: 'scs'|'inherited-ich'|'inherited-scs'|'inherited-native', resolved_from_class: string, property_name: string, value: any (single-property mode), properties: object, property_count: int (all-properties mode), duplicate_analysis?: { grouped_by, element_count, distinct_keys, duplicate_groups: [{key, count, indices[]}], empty_key_indices: [int], has_duplicates: bool, keys: [string] } }

get_blueprint_functions

Read-only

List the graphs of a Blueprint -- functions, interface implementation graphs, macros, delegate signatures and, on request, event graph pages -- each with its node count, a REAL is_override (resolved against the parent class chain AND every implemented interface, naming the declaring class) and is_pure (read off the graph's FunctionEntry FUNC_BlueprintPure flag, not guessed). Enumerates the FULL graph set (UBlueprint::GetAllGraphs), not just Blueprint->FunctionGraphs: an INTERFACE override graph lives in ImplementedInterfaces[].Graphs, which FunctionGraphs alone misses (a function that exists would read as "missing"). Each entry carries graph_type so the caller can tell a plain function from an interface override, a macro or a delegate signature. The map to read before get_graph_nodes, which needs an exact graph name. WARNING: graph_type 'event_graph' entries are the TRANSIENT compiled event graphs and are absent on a Blueprint not compiled this session -- the authored EventGraph is the 'ubergraph' page. get_class_functions has the compiled class surface (inherited and native functions included).

Parameter Type Required Description
blueprint_name string yes Name of the blueprint, or its full path. A bare name that matches more than one Blueprint asset (a backup copy shares the original's name) resolves to one of them and lists the others in ambiguous_matches -- pass the full path then.
filter_type string no Optional 'all' (default), 'functions' or 'events' (case-insensitive, singular accepted). 'functions' keeps function, interface, macro and delegate_signature graphs; 'events' keeps the event side (ubergraph pages and compiled event graphs) and lists it without include_ubergraphs.
include_ubergraphs boolean no Optional bool (default false): also list the event side -- the authored EventGraph/ubergraph pages (graph_type='ubergraph') and the transient compiled event graphs (graph_type='event_graph'). Off by default so 'functions' stays function-shaped.
include_macros boolean no Optional bool (default true): list MacroGraphs (graph_type='macro').
include_interface_graphs boolean no Optional bool (default true): list ImplementedInterfaces[].Graphs (graph_type='interface').
include_subgraphs boolean no Optional bool (default false): also list nested/collapsed sub-graphs reached by GetAllGraphs but owned by no top-level list (graph_type='subgraph')
max_results number no Optional maximum number of entries to return, 1..10000 (default 1000); results_truncated says whether any were left out.

Returns: { blueprint_name: string, blueprint_path: string, blueprint_valid: bool, ambiguous_matches?: [string], filter_type: string, functions: [{ name, node_count, graph_type, is_interface, interface_name?, interface_class?, is_user_constructed, is_pure?, is_override?, override_declaring_class? }], function_count: int, override_count: int, own_function_graph_count: int, interface_graph_count: int, macro_graph_count: int, delegate_graph_count: int, ubergraph_count: int, event_graph_count: int, subgraph_count: int, graphs_total: int, max_results: int, results_truncated: bool } -- graph_type is function|interface|macro|delegate_signature|ubergraph|event_graph|subgraph; is_pure/is_override are on function, interface and macro entries (a macro is neither), override_declaring_class names the class or interface (path) that declares what is overridden; is_user_constructed is just node_count>2, i.e. "someone wrote something beyond the auto Entry/Result terminators", because implementing an interface pre-creates empty graphs. The *_count totals count every graph of that kind, listed or not: subgraph_count>0 with include_subgraphs off is the warning that collapsed graphs exist and are not listed.

get_blueprint_info

Read-only

Pack blueprint_authoring: enable_toolset adds it to a client's list (tool lists).

One cheap overview of a Blueprint: parent class, compile status, and the counts + names of its OWN components, variables, function graphs and ubergraph pages. Everything here is what THIS asset declares -- nothing inherited, and interface-override graphs are not listed. So use it to orient, and the specialists to decide: get_blueprint_components for the real component set including ancestors, get_blueprint_functions for interface/macro/delegate graphs, get_blueprint_variables for variable flags, get_graph_nodes to read a graph.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint

Returns: { blueprint_name: string, parent_class: string, components: [{ name, type }], component_count: int, variables: [{ name, type }], variable_count: int, functions: [{ name }], function_count: int, graphs: [{ name, type }], graph_count: int, has_event_graph: bool, event_graph_name?: string, status: string } -- parent_class is a short NAME (ambiguous between an engine class and a same-named project one), variable "type" is only the pin CATEGORY (no struct/class), and status is UpToDate/Error/Unknown.

get_blueprint_material_info

Read-only

Read the material slots of ONE StaticMeshComponent TEMPLATE in a Blueprint (an OWN SCS node), with the material assigned to each slot or "None". This is the verification step after apply_material_to_blueprint / set_blueprint_component_properties. The slot count comes from the assigned static mesh's LOD 0 sections, so with no mesh assigned it returns ZERO slots and has_static_mesh:false -- which is a missing mesh, not a missing material. For a placed actor use get_actor_material_info.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint
component_name string yes Name of an OWN SCS component; it must be a UStaticMeshComponent (any other type is an error)

Returns: { blueprint_name: string, component_name: string, material_slots: [{ slot, component, material_name, material_path, material_class }], total_slots: int, has_static_mesh: bool } -- read has_static_mesh FIRST: total_slots:0 with has_static_mesh:false means no mesh was assigned, so the array says nothing about materials.

get_blueprint_timeline_info

Read-only

Read one Timeline of a Blueprint: its length and length mode, auto_play, loop, replicated and ignore_time_dilation, every track (float, vector, color, event) with its curve and keys ({time, value}; value an array for vector and color), and its node (node_id, graph_name, output_pins: Update, Finished, Direction and one pin per track). Read-only. Timelines are made by add_timeline_to_blueprint and their tracks by add_blueprint_timeline_track / remove_blueprint_timeline_track; get_timeline_info is about Level Sequences. A missing Blueprint or timeline is an error listing the timelines it has.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of the Blueprint.
timeline_name string yes The timeline's variable name, as add_timeline_to_blueprint returned it.

Returns: { blueprint_name, timeline_name, length, length_mode, auto_play, loop, replicated, ignore_time_dilation, track_count, tracks: [{track_name, track_type, curve, external_curve, key_count, keys: [{time, value}]}], node_id?, graph_name?, output_pins?: [string] }

get_blueprint_variable_detailed_info

Read-only

Read ONE variable's full detail: its default value, the structured type (category, sub-category object and container kind -- not just the pin category get_blueprint_variables gives you), and every checkbox of the variable Details panel -- is_instance_editable / is_expose_on_spawn / is_blueprint_read_only / is_expose_to_cinematics / is_replicated / replication_condition / save_game. This is the headless oracle for "does this variable really persist into a .sav?", which otherwise costs a co-op PIE session plus a binary grep of the slot file. save_game is reported from BOTH places the flag lives, because they disagree until you compile: save_game is CPF_SaveGame as AUTHORED (FBPVariableDescription::PropertyFlags, exactly what the editor checkbox writes) while save_game_generated is the same flag on the FProperty of the GENERATED class, which is the one the save archive consults -- so save_game:true + save_game_generated:false means MARKED BUT NOT COMPILED, and nothing will persist yet; save_game_matches says it in one field. Read is_replicated FIRST: replication_condition is always populated (COND_None by default) and only means anything when replication is on. default_value is read from the CDO when the class is compiled (default_value_source:"cdo"), so it does not come back EMPTY for arrays, maps and every variable of an already-compiled Blueprint. Booleans of this family are contrasted, not believed -- audit_replication is the ground truth for replication.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint
variable_name string yes Name of a variable DECLARED on this Blueprint (e.g. "MyFloat"); inherited variables are not covered

Returns: { blueprint_name: string, variable_name: string, default_value: string, default_value_source: "cdo"|"blueprint_description", default_value_serialized: string, var_type: string, property_type: string, var_type_detail: {category, sub_category, sub_category_object, sub_category_object_path, container}, is_instance_editable: bool, is_expose_on_spawn: bool, is_blueprint_read_only: bool, is_expose_to_cinematics: bool, is_replicated: bool, replication_condition: string, save_game: bool, save_game_generated: bool, save_game_generated_found: bool, save_game_matches: bool }

get_blueprint_variables

Read-only

List the variables this Blueprint DECLARES (its NewVariables) with name, pin category, editor category, tooltip and the flags that matter for co-op and UI work: is_public (BlueprintVisible), is_editable, is_blueprint_read_only, is_replicated (CPF_Net) and is_expose_on_spawn. Inherited variables, native C++ UPROPERTYs, function locals and components are NOT here -- get_class_properties on the generated class (..._C) has the full property surface. THE FLAGS ARE READ OFF THE STORED VARIABLE DESCRIPTION, not the compiled property, and two of them mislead: is_editable checks CPF_Edit and ignores CPF_DisableEditOnInstance, so it says true for variables the editor refuses to edit per instance; is_expose_on_spawn checks a property flag while set_blueprint_variable_metadata writes the ExposeOnSpawn METADATA, so it says false for variables that DO show up as SpawnActor pins. Oracles: write the placed instance for editability, the spawn node's pins for exposure, get_blueprint_variable_detailed_info for type/replication and one variable's default value.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint, or its full path. A bare name that matches more than one Blueprint asset resolves to one of them and lists the others in ambiguous_matches.
max_results number no Optional maximum number of variables to return, 1..10000 (default 1000); results_truncated says whether any were left out.

Returns: { blueprint_name: string, blueprint_path: string, blueprint_valid: bool, ambiguous_matches?: [string], variables: [{ name, type, category, tooltip, is_public, is_editable, is_blueprint_read_only, is_replicated, is_expose_on_spawn, instance_editable, expose_on_spawn }], variable_count: int, variables_count: int, max_results: int, results_truncated: bool } -- "type" is only the pin CATEGORY (e.g. "struct", "object"), not the struct or class; instance_editable and expose_on_spawn repeat is_editable and is_expose_on_spawn; variable_count and variables_count are the same number.

get_event_dispatchers

Read-only

List a Blueprint's event dispatchers (multicast delegates) WITH each one's full parameter signature (name, C++ type, is_output) and whether it is inherited. Read from the SKELETON class, so it reflects edits made since the last full compile. Use it before add_broadcast_node / add_object_bound_event / set_event_dispatcher_signature, whose pins mirror this signature; only the dispatchers this Blueprint DECLARES can have their signature edited.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
include_inherited boolean no Also include dispatchers inherited from parent classes; default false = only the ones this Blueprint declares (i.e. the editable ones)

Returns: { blueprint_name: string, dispatchers: [ { name: string, is_inherited: bool, param_count: int, params: [ { name: string, type: string, is_output: bool } ] } ], dispatcher_count: int }

get_function_pins

Read-only

Preview the EXACT pins an add_graph_node call_function node WOULD expose for a UFunction WITHOUT creating anything: owner_class, is_pure, is_static, exec_input/exec_output ("execute"/"then", null when pure), self_pin (null when static), input_params, output_params and return_value. This is what lets a whole build_blueprint_graph (nodes + connections + pin_defaults) be written in ONE call instead of create -> get_graph_nodes -> connect round-trips. It answers "what pins would it have", NOT "can a Blueprint call it": some engine functions resolve and preview here and are still rejected by the compiler, so the oracle for callability is compile_blueprint with return_messages=true.

Parameter Type Required Description
function_name string yes UFunction name, matched EXACTLY against the reflected name (e.g. "PrintString", "K2_GetActorLocation", or a Blueprint function graph's own name, which may contain spaces like "Emit Noise At Location"). A guessed name that does not exist just errors -- it never returns an empty preview.
target_class string no Optional class searched FIRST: native name ("KismetSystemLibrary"), "/Script/Module.Class", a Blueprint class path ("/Game/...X_C"), or a user BFL. Also always searched: the blueprint's own class + KismetSystem/GameplayStatics/KismetMath.
blueprint_name string no Optional Blueprint whose generated class joins the search (for self / BP-local functions).

Returns: { function_name, owner_class, is_pure, is_static, exec_input, exec_output, self_pin, input_params:[{name,type}], output_params:[{name,type}], return_value:{name,type}|null, note }

get_graph_nodes

Read-only

Core tool: every client lists it by default.

Read the nodes of one graph without changing it: a Blueprint graph (Animation and Widget Blueprints included), or the graph of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig. It is the read behind add_graph_node, connect_pins and set_pin_default_value.

Every node has its node_id, which the graph tools take, and its object_path (not in a MetaSound), which get_object_info and set_properties take. A Blueprint node also lists class, title, position, comment and pins with links and defaults; another asset answers with its editor's own view, named by graph_kind.

Read the topology with compact=true, then one node's pins with node_id. compact leaves out unlinked pins without a default, so a pin missing there may still exist. graph_name picks another graph (a collapsed graph by its title included); expand_composites inlines collapsed graphs.

Reads the graph as the editor holds it, unsaved edits included, and compiles nothing, so a Blueprint that fails to compile still lists its nodes. max_nodes caps a large reply; truncated says whether nodes were left out. Reading under a read-only vendor root leaves the package dirty in memory; reload_asset_package with on_dirty="discard" cleans it.

Parameter Type Required Description
asset_path string yes The graph asset: a Blueprint by name or path, or the path of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig. Prefer the FULL path: a Blueprint short name with more than one match resolves silently to one of them, and stale backup copies share the original's name.
blueprint_name string no Older name of asset_path, still accepted.
graph_name string no Blueprint only: the graph, default the event graph ("AnimGraph" for an Animation Blueprint's anim graph). Also resolves a collapsed composite subgraph by its title (e.g. 'In Game HUD') and accepts a path form ('EventGraph > In Game HUD'). The other assets have one graph: leave it out.
expand_composites boolean no When true, inline the nodes of collapsed composite subgraphs recursively; each node gains a "graph" tag naming the graph it came from. Macro-library graphs are never inlined. (Optional, default false)
compact boolean no Token-lean listing: drops pin types, positions and comments, and skips pins that are unlinked AND have no default. Also excludes K2Node_Knot + EdGraphNode_Comment unless exclude_classes is given. Good for reading topology, WRONG for checking whether a pin exists. (Optional, default false)
exclude_classes array no Array of leaf node class names to skip, matched against each node's "class" field (e.g. ["K2Node_Knot"]). Pass [] to include everything even in compact mode. Absent + compact=true means knots and comments are excluded; absent + compact=false excludes nothing.
max_nodes integer no Cap on the number of nodes emitted (<=0 or absent = unlimited); the response still counts every non-excluded node in total_node_count and sets truncated=true.
node_id string no Optional node_id (from add_graph_node / get_graph_nodes): return ONLY that node, in a Blueprint always at full fidelity (compact, exclude_classes, expand_composites and max_nodes are ignored) -- every pin with name, direction, type, linked_to and default, at a fraction of the tokens of a whole graph. A node_id the graph does not contain is an error.

Returns: { blueprint_name, graph_name, nodes: [{ node_id, object_path?, class, title, pos_x, pos_y, comment, pins: [...], subgraph? }], node_count, compact, total_node_count, excluded_count, truncated, graph_kind? } -- node_count counts the nodes returned and total_node_count those that exist; a node holding a nested graph has `subgraph`, the graph_name to read it with. Another asset: its editor's view, a MetaSound's links in connections.

implement_interface

Destructive Refused during PIE

Add a Blueprint Interface to a Blueprint's implemented list (asset path or class name). NOT idempotent: an interface already implemented comes back as an error, unlike remove_interface. It only registers the contract -- the graphs that IMPLEMENT each member are created by add_blueprint_function with override=true, which is also the only correct route for interface EVENTS.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
interface_path string yes Blueprint interface asset path (e.g. /Game/Dir/BPI_Foo.BPI_Foo), or a resolvable interface class name/path

Returns: { blueprint_name, interface, implemented } -- implemented is always true on success; failure is an error response. Confirm the member set with get_blueprint_functions (interface graphs live in ImplementedInterfaces, not FunctionGraphs).

lint_blueprint_graph

Read-only

Read-only lint of a Blueprint's graphs for four authoring bugs that COMPILE CLEAN and only show up in play: eclipsed_interface_event and custom_event_shadowing_override (a node that looks like an override and is not, so the base contract never runs), unreachable_exec_node (a node no exec chain reaches from any entry) and function_exit_without_return (a live exec path that falls off the end of a value-returning function, so the caller silently gets false/0/None). Scans ALL ubergraph + function + macro graphs by default. HONESTY LIMIT: findings:[] is NOT a clean bill of health -- by deliberate design it never flags a merely unconnected exec output, so a Branch or Is Valid with dangling outputs can pass; check linked_to yourself with get_graph_nodes (compact=false, or node_id for one node).

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of the Blueprint to analyze.
graph_name string no Optional single graph to analyze; when omitted, scans ALL ubergraph (event) pages + function graphs + macro graphs owned by this Blueprint. Interface-override graphs are NOT in that default set -- name one explicitly to lint it.

Returns: { findings: [ { kind, node_id, node_title, graph_name, why, fix_hint, pin? } ] } -- kind is one of eclipsed_interface_event, custom_event_shadowing_override, unreachable_exec_node, function_exit_without_return (this one also reports the offending exec pin in "pin"); "why" carries a best-effort pointer at the likely upstream break. No counters and no coverage flags: an empty array only means these four rules found nothing.

list_editor_utility_widgets

Read-only

List the Editor Utility Widget Blueprint assets under a content folder and its subfolders, read from the Asset Registry without loading them. Returns search_path, count and widgets [{name, asset_path, package_name, package_path}], sorted by asset_path and paged with offset/limit; open one as an editor tab with run_editor_utility_widget.

Parameter Type Required Description
path string no Content folder to search recursively, without a trailing slash, e.g. "/Game/EditorUtilities" (default /Game).
offset integer no Index of the first entry returned, counted from 0 (default 0). Read the next page at the reply's next_offset.
limit integer no Most entries returned per call, 1..1000 (default 100).

Returns: { name, asset_path, package_name, package_path, search_path, count (entries in this page), widgets, total: int, offset: int, limit: int, returned: int, truncated: bool, next_offset: int|null }

list_overridable_functions

Read-only

Enumerate the functions/events that a Blueprint deriving from a class could override. Works on an EXISTING Blueprint (blueprint_name) or on ANY class (class_name) so the override surface can be inspected BEFORE the child exists. Gated with UEdGraphSchema_K2::CanKismetOverrideFunction -- the same predicate add_blueprint_function(override=true) enforces -- so discovery and authoring agree (a bare NativeEvent||FUNC_BlueprintEvent filter lets a parent Blueprint's *__DelegateSignature through as "overridable"). Each entry reports where the member is DECLARED and where it is last IMPLEMENTED, with is_stub, which is what distinguishes a concrete ancestor from its _Abstract sibling. Entries come in class-chain then interface order, a page at a time (offset/limit).

Parameter Type Required Description
blueprint_name string no Name/path of an existing Blueprint. Its ParentClass is the override surface.
class_name string no Alternative to blueprint_name: any class ("Actor", "/Script/Engine.Pawn", "/Game/.../BP_X.BP_X_C", or a Blueprint asset path). The override surface is THAT class, i.e. what a new child would get. Ignored when blueprint_name is given.
include_non_overridable boolean no Optional bool (default false). true also lists the entries a NativeEvent||FUNC_BlueprintEvent filter passes but CanKismetOverrideFunction rejects (delegate signatures, BlueprintInternalUseOnly, deprecated), each flagged can_kismet_override=false. Nothing is lost silently.
offset integer no Index of the first entry returned, counted from 0 (default 0). Read the next page at the reply's next_offset.
limit integer no Most entries returned per call, 1..1000 (default 100).

Returns: { blueprint_name?, class_name?, source_mode, resolved_class, base_class, ancestors: [string], count (entries in this page), total: int, offset: int, limit: int, returned: int, truncated: bool, next_offset: int|null, functions: [{ function_name, display_name, declaring_class, is_native_event, is_event, is_interface, interface_name?, kind, can_kismet_override, has_override_graph, has_user_logic, is_implemented, parent_impl_kind, parent_impl_owner_class, parent_impl_graph, parent_impl_node_count, is_stub, is_stub_basis }] }

list_scripted_action_utilities

Read-only

List the Editor Utility Blueprints under a content folder (subfolders included) whose class derives from UAssetActionUtility (kind asset: Content Browser right-click actions) or UActorActionUtility (kind actor: level actor actions). Each Editor Utility Blueprint found is LOADED to test its class, so a large folder is slow; plain Blueprints and Editor Utility Widgets are not listed. Sorted by path, a page at a time (offset/limit). Read-only; a folder with none, or one that does not exist, is an empty list, not an error. Run one with run_asset_action_utility, which also lists its CallInEditor actions; create one with create_editor_utility_blueprint (parent_class "AssetActionUtility" or "ActorActionUtility"); Editor Utility Widgets: list_editor_utility_widgets.

Parameter Type Required Description
path string no Content folder to search, subfolders included, e.g. "/Game/EditorTools", without a trailing slash (default /Game).
offset integer no Index of the first entry returned, counted from 0 (default 0). Read the next page at the reply's next_offset.
limit integer no Most entries returned per call, 1..1000 (default 100).

Returns: { search_path: string, count: int (entries in this page), total: int, offset: int, limit: int, returned: int, truncated: bool, next_offset: int|null, utilities: [{ name: string, path: string, package_name: string, kind: string, parent_class: string }] }

list_widget_bound_events

Read-only

List the event-dispatcher BINDINGS wired in a Blueprint, in graph order and a page at a time (offset/limit; kind_counts and total count them all), across the three node kinds that make one in practice: UK2Node_AddDelegate (from add_object_bound_event / add_graph_node node_type="add_delegate"), UK2Node_ComponentBoundEvent (from add_component_bound_event -- a component's dispatcher OR a UMG widget's, e.g. a Button's OnClicked) and UK2Node_ActorBoundEvent (a level actor's, bound from the Level Blueprint). Each entry reports which kind it is (binding_kind), what it is bound ON (bound_to: the component/widget variable, or the actor), the delegate's owner class and name, and the handler on the other end. Despite the name it works on ANY Blueprint -- but it only walks Ubergraph pages and FunctionGraphs, so a binding inside a macro or interface graph is out of scope. Run it BEFORE add_object_bound_event / add_component_bound_event: double-binding one delegate to two handlers compiles fine and silently runs BOTH. A reader that cannot see what the writer wrote is worse than no reader: a 0 reads as "not wired" and sends you to re-wire what is already there.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path (Actor Blueprint, Widget Blueprint or Level Blueprint).
offset integer no Index of the first entry returned, counted from 0 (default 0). Read the next page at the reply's next_offset.
limit integer no Most entries returned per call, 1..1000 (default 100).

Returns: { blueprint_name, bindings:[{ graph_name, node_id, binding_kind, bound_to, delegate_owner_class, delegate_name, delegate_resolved, wired, custom_event_name, custom_event_node_id }], binding_count (entries in this page), kind_counts:{add_delegate,component_bound_event,actor_bound_event}, total: int, offset: int, limit: int, returned: int, truncated: bool, next_offset: int|null } -- binding_kind names the node class behind the entry. bound_to is the component/widget variable name (component_bound_event), the actor name (actor_bound_event), or empty for add_delegate, whose target pin is left unconnected by design. delegate_resolved=false means the delegate no longer resolves live (renamed/removed). wired=false is a DANGLING add_delegate bind (its Delegate pin has no handler); the two *BoundEvent kinds ARE their own handler, so they are always wired and custom_event_name is the generated BndEvt__ function.

move_node

Destructive

Move a node to a new [x, y] canvas position. Purely cosmetic layout: no pin, link, default or type changes, and no compile. Returns the position actually applied.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
node_id string yes NodeGuid of the node to move
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
position_x number no Node X position on the graph canvas (ignored when node_position is set)
position_y number no Node Y position on the graph canvas (ignored when node_position is set)
node_position array no Node canvas position as [x, y]; takes precedence over position_x/position_y

Returns: { node_id, pos_x, pos_y }

recombine_blueprint_pin

Destructive Refused during PIE

Collapse a previously split struct pin back into ONE pin (inverse of split_blueprint_pin), which is what set_pin_default_value needs before it will write a struct literal. Accepts either the parent pin's name or any of its sub-pin names; links on the sub-pins are dropped by the engine as part of recombining.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
node_id string yes NodeGuid of the node owning the pin.
pin_name string yes Name of the parent pin OR of any of its sub-pins.
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted

Returns: { recombined } -- always true on the success path; a pin that is not split is an error response instead.

reconcile_function_signature

Destructive Refused during PIE

Repair a LOCAL function graph's parameter pins so they match a parent UFUNCTION -- for an override whose signature went stale after a reparent -- WITHOUT nuking the graph's downstream nodes, which is what re-creating the override by hand costs you. It diffs the parent's parameters against the function's entry/result pins: mode='add_missing' (the default) only ADDS the missing pins, so it is non-destructive and safe to run blind; mode='remove_extra' / 'mirror' also DROP pins the parent lacks, which can sever downstream connections, and are therefore gated behind force_remove=true -- without it the extra pins are merely REPORTED (partially_implemented=true).

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path owning the function.
function_name string yes Name of the local function graph to reconcile.
parent_class string no Optional: class whose UFUNCTION defines the target signature (default: the Blueprint's current ParentClass).
mode string no Optional (default 'add_missing'): 'add_missing' | 'remove_extra' | 'mirror'.
force_remove boolean no Optional (default false): actually remove extra pins for 'remove_extra'/'mirror' (may drop connections).

Returns: { blueprint_name, function_name, parent_class, mode, added:[{name,direction}], removed:[{name,direction}], extra_pins:[{name,direction}], missing_pins:[{name,direction}], removal_performed, partially_implemented, note, success }

remove_ai_perception_sense

Destructive Refused during PIE

Remove a sense (its config) from an AIPerceptionComponent TEMPLATE of a Blueprint, then compile the Blueprint and save the package, as add_ai_perception_sense does; no undo step. Inverse of add_ai_perception_sense: sense_type "sight" or "hearing", or any other configured sense by its config class name (AISenseConfig_Damage...). When it was the dominant sense, the dominant sense is cleared (dominant_cleared). A sense the template does not configure is an honest no-op (removed=false, nothing compiled or saved); a missing Blueprint or component, or a component that is not an AIPerceptionComponent, is an error. The reply re-reads the template's senses; read them with get_ai_perception_senses. Refused during PIE unless force=true.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint owning the component
component_name string yes Name of the AIPerceptionComponent SCS node
sense_type string yes "sight", "hearing", or the short name / class name of another configured sense ("damage", "AISenseConfig_Damage")

Returns: { blueprint_name, component_name, sense_type, removed, removed_count, dominant_cleared, senses: [string], sense_count, saved, note? }

remove_blueprint_function

Destructive Refused during PIE

Delete a function graph OWNED BY the Blueprint (Blueprint->FunctionGraphs) by name. WARNING: It resolves more graphs than it can delete: name lookup goes through FindGraph (all graphs, interface overrides and macros included) but the delete only touches FunctionGraphs and only when bAllowDeletion is true, so an INTERFACE OVERRIDE resolves and cannot be removed. That case is a hard error naming the reason -- to change an interface override, author the signature on the INTERFACE and re-create it (add_function_parameter on the BPI_ -> compile_blueprint -> add_blueprint_function with override=true). Not idempotent: a name that does not resolve is an error. TRAP when deleting to re-create: the class is NOT regenerated here, so an immediate add_blueprint_function with the same name fails with "is an inherited overridable function (declared on <this very class>)" because the stale UFunction is still in the generated class -- put a compile_blueprint BETWEEN the two calls. Callers of the removed function are left broken until the next compile. A macro graph: remove_blueprint_macro.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint
function_name string yes Name of the function graph to remove; must exist, be owned by this Blueprint and be deletable, or the call errors

Returns: { blueprint_name: string, removed_function: string, success: bool } -- success:true means the graph is gone from Blueprint->FunctionGraphs (re-read after the delete), not merely that the call ran.

remove_blueprint_macro

Destructive Refused during PIE

Delete a macro graph owned by the Blueprint (Blueprint->MacroGraphs), in one undo step. Inverse of create_blueprint_macro; remove_blueprint_function deletes function graphs only. The macro's instances in the Blueprint's graphs go with it, so a macro still in use is refused (instance_count says how many) unless delete_instances=true. Nothing is compiled or saved. A macro that is not there is an honest no-op (removed=false); a missing Blueprint is an error. The reply re-reads MacroGraphs; list the graphs with get_blueprint_functions. Refused during PIE unless force=true.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
macro_name string yes Name of the macro graph, as create_blueprint_macro returned it in graph_name.
delete_instances boolean no true to delete the macro even when nodes of this Blueprint instance it (they are deleted too); default false refuses.

Returns: { blueprint_name, macro_name, removed, instance_count, instances_removed, macro_count, note? }

remove_blueprint_timeline_track

Destructive Refused during PIE

Remove a track (float, vector, color or event) from a Timeline of a Blueprint by its name, as the Timeline editor's Delete Track does, then reconstruct the timeline node (the track's output pin goes, and its links with it) and compile the Blueprint; one undo step (the compile is not undone). Inverse of add_blueprint_timeline_track. A track that is not there is an honest no-op (removed=false, nothing compiled); a missing Blueprint or timeline is an error. The reply re-reads the timeline (tracks, output_pins). Refused during PIE unless force=true. The whole timeline: remove_graph_node on its node; read: get_blueprint_timeline_info.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of an Actor Blueprint.
timeline_name string yes The timeline's variable name.
track_name string yes Name of the track to remove (get_blueprint_timeline_info lists them).

Returns: { blueprint_name, timeline_name, track_name, track_type?, removed, length, length_mode, auto_play, loop, replicated, ignore_time_dilation, track_count, tracks: [...], node_id, graph_name, output_pins: [string], note? }

remove_blueprint_variable

Destructive

Remove a member variable DECLARED on this Blueprint (inherited/native variables are refused) and report whether it is really gone by re-looking it up. Nodes that still read/write it survive as broken references, so run compile_blueprint with return_messages=true afterwards. For an event dispatcher use remove_event_dispatcher instead -- this call would drop the delegate variable and strand its signature graph.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
variable_name string yes Name of a variable declared on THIS Blueprint

Returns: { blueprint_name, variable_name, deleted } -- deleted is re-checked after the removal, so false means it is still there.

remove_component_from_blueprint

Destructive Idempotent Refused during PIE

Remove one or more component nodes from a Blueprint's SCS, with a DOUBLE CENSUS (flat AllNodes vs a walk of RootNodes) so collateral losses are reported instead of hidden: also_removed names descendants that went with their parent and unexpected_losses names nodes left in AllNodes but unreachable from any root. Batch-capable and that is the point -- chaining SINGLE-node calls on the same Blueprint is exactly the pattern that deletes components nobody asked for, so pass component_names and take ONE compile for the lot. A re-added component comes back with its CLASS defaults: per-instance overrides are gone and do not come back on save. IDEMPOTENT, so it is safe in scripts that re-run: a requested component that is not there is listed in not_found, and when none of them is there the call still succeeds with already_removed:true and nothing removed.

Parameter Type Required Description
blueprint_name string yes Name/path of the blueprint
component_name string no Name of the component to remove (single form; matches the variable name or the _GEN_VARIABLE internal name)
component_names array no Optional array of component names removed as ONE batch with a SINGLE compile. Chaining single-node calls is the pattern that causes collateral deletions. Merged with component_name when both are given.
promote_children boolean no Optional bool, default true: keep descendants by re-parenting them (RemoveNodeAndPromoteChildren). Pass false for plain RemoveNode, which orphans the whole subtree.

Returns: { success, error?, data: { blueprint_name, removed_component, component_name, removed, already_removed, requested[], removed_components[], also_removed[], unexpected_losses[], not_found[], still_present[], node_count_before, node_count_after, reachable_before, reachable_after, orphans_before[], orphans_after[], root_nodes_before[], root_nodes_after[], root_nodes_changed, promote_children, compiled, compile_count, success, verification } } -- removed: at least one node went; already_removed: none of the requested names was there (a no-op, not an error).

remove_event_dispatcher

Destructive Idempotent Refused during PIE

Remove an event dispatcher, dropping BOTH artifacts add_event_dispatcher created: the delegate member variable AND its signature graph (remove_blueprint_variable removes only the variable and strands the graph, which is why this exists). Idempotent -- when neither artifact is present it returns removed:false instead of erroring. Broadcast/bind nodes that referenced it are left broken: compile_blueprint with return_messages=true after.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
dispatcher_name string yes Name of the event dispatcher to remove (must be one this Blueprint owns; inherited ones have no local artifacts)

Returns: { blueprint_name, dispatcher_name, removed } -- removed:false means nothing was there (no-op), not a failure.

remove_function_local_variable

Destructive Refused during PIE

Remove a local variable from one Blueprint function graph (interface-override graphs included), with the get/set nodes that read or write it in that function, in one undo step -- what deleting it from the My Blueprint panel does. Inverse of add_function_local_variable; remove_blueprint_variable removes MEMBER variables only. Nothing is compiled or saved. A local that is not there is an honest no-op (removed=false); a missing Blueprint or function is an error. The reply re-reads the function's locals (local_variables), the only reader of them: get_blueprint_variables lists members. Refused during PIE unless force=true.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
function_name string yes Name of the function graph (FunctionGraphs or an interface-override graph)
variable_name string yes Name of the local variable to remove

Returns: { blueprint_name, function_name, variable_name, removed, local_variables: [string], note? }

remove_function_parameter

Destructive Refused during PIE

Remove an input or output parameter from a Blueprint function graph -- interface-override graphs included --, from a macro graph, or an input from a custom event, in one undo step: the user pin leaves the Entry node (inputs) or every Result node (outputs), the macro's input or output tunnel, or the event node, and the node is reconstructed, so links to that pin break. Inverse of add_function_parameter; for an override of a C++ or interface function, reconcile_function_signature fits the signature to the parent instead. Nothing is compiled or saved: call sites update at the next compile_blueprint. A parameter that is not there is an honest no-op (removed=false, the parameters it does have in params); a missing Blueprint or graph is an error. The reply re-reads the signature (params_left). Read the pins: get_graph_nodes at compact=false. Refused during PIE unless force=true.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
function_name string yes Name of the function graph, else of a macro graph, else of a custom event.
param_name string yes Name of the parameter to remove, as add_function_parameter returned it.
is_output boolean no true to remove an output/return parameter, false (default) an input.

Returns: { blueprint_name, function_name, param_name, is_output, graph_kind, removed, params_left: [string], params?: [string], note? }

remove_graph_node

Destructive Refused during PIE

Pack blueprint_authoring: enable_toolset adds it to a client's list (tool lists).

Remove ONE node from a graph by its node_id, breaking its links, in a Blueprint graph (an Animation or Widget Blueprint included) or in the graph of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig. In a Blueprint the nodes the editor protects (FunctionEntry, Result, tunnels, an AnimGraph's output pose) are refused; the removal is in memory and reversible until save_asset, and nothing is compiled: follow with compile_blueprint with return_messages=true. It also cleans up orphan nodes a failed build_blueprint_graph left when its rollback was refused. The other assets are saved by their editor: on a sound cue the later node ids shift down (read id_remap), a MetaSound's graph input and output nodes and a PCG graph's input and output nodes are refused, and a Control Rig is compiled.

Parameter Type Required Description
asset_path string yes The graph asset: a Blueprint by name or path, or the path of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig.
node_id string yes node_id of the node to remove (from add_graph_node / get_graph_nodes)
blueprint_name string no Older name of asset_path, still accepted.
graph_name string no Blueprint only: the graph, default the event graph ("AnimGraph" for an Animation Blueprint's anim graph). The other assets have one graph: leave it out.

Returns: { deleted, node_id, graph_kind? } -- for another asset than a Blueprint the reply is its editor's own (removed, saved, id_remap...)

remove_interface

Destructive Idempotent Refused during PIE

Remove an implemented Blueprint Interface (inverse of implement_interface) and, unless preserve_functions is set, DELETE the graphs that implemented it -- work is lost, so pass preserve_functions=true to keep them as ordinary Blueprint functions. Idempotent, unlike implement_interface: an interface that is not implemented returns removed:false instead of erroring.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
interface_path string yes Blueprint interface asset path (or class name) to remove
preserve_functions boolean no When true, keep the interface's function graphs as normal Blueprint functions instead of deleting them; defaults to false

Returns: { blueprint_name, interface, removed } -- removed:false means it was not implemented (no-op), not a failure.

remove_unused_variables

Destructive Refused during PIE

Delete EVERY variable the engine considers unused from a Blueprint in one shot (GatherUnusedVariables + RemoveUnusedVariables) and report which ones went. Destructive and non-selective -- "unused" means no graph node reads or writes it, so a variable only touched from C++, a DataTable, a save game or a runtime name lookup counts as unused and is deleted. Preview it by comparing get_blueprint_variables before/after, or delete a specific one with remove_blueprint_variable.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint

Returns: { blueprint_name: string, removed_count: int, removed_variables?: [string] } -- removed_variables is the list gathered BEFORE the removal and removed_count what the engine reported removing; still_declared lists the gathered names the Blueprint still declares afterwards, and any of them fails the call.

rename_blueprint_variable

Destructive Refused during PIE

Rename a member variable DECLARED on this Blueprint, KEEPING everything the delete+re-add workaround throws away: the VarGuid, the type, the default value, the category, the tooltip and the replication flags -- and, crucially, RE-WIRING every Get/Set node that reads it, in this Blueprint and in every dependent one. This is the only correct way to rename an authored variable in place (e.g. to translate its name). WARNING: it refuses a variable that has a RepNotify function: the engine's own rename opens a MODAL dialog for that case (FSuppressableWarningDialog, which does NOT honour unattended mode) and would hang the editor waiting for a click -- clear the RepNotify with set_blueprint_variable_replication, rename, then set it back. WARNING: dependent Blueprints are only repaired if they are LOADED: this command loads the ones the Asset Registry reports as referencers first, and reports them in referencers_loaded, but an asset that references it in a way the registry does not see keeps the old name silently. It does NOT create CoreRedirects, so a saved game, a DataTable cell or a Python set_editor_property that names the variable as text is NOT fixed -- grep for those. Run compile_blueprint afterwards and save_asset on this Blueprint AND on every referencer.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path owning the variable.
old_name string yes Current name of a variable declared on THIS Blueprint; inherited/native ones are refused.
new_name string yes New name. Must be a legal identifier and free across the WHOLE class chain (the engine does not check this and would happily create a duplicate). Case-only changes are allowed.
load_referencers boolean no Optional bool (default true). Load the Blueprints the Asset Registry lists as referencers BEFORE renaming, so the engine's reference fixup reaches them; it only ever sees what is already in memory.

Returns: { blueprint_name, old_name, new_name, renamed (re-read: true only if new_name exists and old_name is gone), referencers_loaded: [string], repnotify_cleared: bool, warning? }

rename_function_parameter

Destructive Refused during PIE

Rename a PARAMETER of a Blueprint function graph, keeping call sites: removing and re-adding it (remove_function_parameter) breaks every caller's link and literal.

Renames the pin on the Entry node and EVERY Result node and registers a CoreRedirect (Class.Function.Param), so call sites re-map and keep their literal values, including callers that only CALL the function (K2Node_Message) and dependents not loaded. Without the redirect the old pin survives ORPHANED on the caller, and compile_blueprint still reports num_errors:0. Names held as TEXT (a DataTable cell, a saved game, Python) are not renamed.

Afterwards compile_blueprint and save_asset this Blueprint AND every caller. Success is refused while any serialized UserDefinedPin (entry_user_pins_after/result_user_pins_after, legitimately empty on an interface-override graph) still carries the old name. Verify on callers with get_graph_nodes(compact=false), and on disk with save_asset -> reload_asset_package -> get_function_pins.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path owning the function graph.
function_name string yes Name of the function graph (an interface's own function graph and an interface-override graph both work).
old_name string yes Current parameter name, matched on the Entry node and on every Result node. A name present on only one of them is fine.
new_name string yes New parameter name. Must be free on the terminal nodes; a collision is refused up front via the engine's own dry-run, before anything is touched.
write_redirect boolean no Optional bool (default true). Also PERSIST the redirect as a +PropertyRedirects line in Config/DefaultEngine.ini, so it survives a restart and reaches the other machine. With false the redirect is registered in memory only and the rename EVAPORATES for anyone who opens the project later.
load_referencers boolean no Optional bool (default true). Load the Blueprints the Asset Registry lists as referencers BEFORE renaming, so their nodes reconstruct in this session instead of the next one.

Returns: { blueprint_name, function_name, old_name, new_name, renamed: bool, terminals_renamed: [string], entry_pins_after: [string], result_pins_after: [string], entry_user_pins_after: [string], result_user_pins_after: [string], redirect_registered: string, redirect_persisted_to: string|null, referencers_loaded: [string], must_compile_and_save: [string], warning: string } -- the *_user_pins_after pair is the SERIALIZED side (UserDefinedPins): empty on an interface-override graph is normal, but the old name appearing there is the rename that will revert on restart.

reparent_blueprint

Destructive Refused during PIE

Change a Blueprint's parent class, guarded and rollback-capable; asking for the parent it already has is a no-op (reparented:false), not an error. On top of the reparent itself it takes: a pre-flight snapshot (parent chain, own-variable count, CDO component count); an OPTIONAL variable de-collision rename (rename_colliding_vars) for own variables whose name collides with a member the NEW parent already declares, which a plain reparent would otherwise clobber; the delta-serialization compile flags, without which a Blueprint with more than ~10 type-pinned variables CRASHES the editor during reinstancing; the same SCS-root reconciliation the Blueprint editor itself does, so a silently renamed component ("Mesh" -> "Mesh1") is reported instead of hidden; an invariant post-check (parent matches, no compile error, own-variable count did not shrink); and, on failure, an in-memory auto_rollback that restores the original parent, restores the component names and recompiles (auto_rollback=false leaves a failed reparent in place). It never saves to disk. This is a genuinely destructive multi-step transaction: run it with dry_run=true first on any real fork -- that reports the plan and the would-rename set without mutating anything.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path to reparent.
new_parent_class string yes New parent class name or path (native /Script, /Game/.../BP.BP_C, or a BP asset path -> its GeneratedClass).
dry_run boolean no Optional (default false): analyze + report the plan (snapshot, would-rename vars, component collisions) without mutating.
rename_colliding_vars boolean no Optional (default false): before reparenting, rename own NewVariables that collide by name with a member on the new parent.
auto_rollback boolean no Optional (default true): on post-check failure, restore the original parent, restore the SCS node names and recompile.
reconcile_scene_root boolean no Optional (default true): run the editor's own post-reparent conform pass -- ValidateSceneRootNodes + PrepareToConformSparseClassData + a second pass after the compile. Setting it FALSE disables all three; it exists only as a bisect escape hatch.
treat_component_renames_as_regression boolean no Optional (default false): count a silently renamed SCS component as a post-check regression (which triggers auto_rollback).

Returns: { blueprint_name, blueprint_path, old_parent, new_parent, dry_run, reparented, renamed_variables:[{from,to}], pre_variable_count, post_variable_count, pre_component_count, post_component_count, pre_scs_node_count, post_scs_node_count, scene_root_reconciled, scene_root_reconciled_post_compile, default_scene_root_removed, sparse_class_data_conform_prepared, compile_messages:[{severity,text}], compile_error_count, compile_warning_count, renamed_components:[{guid,from,to,matched_by}], removed_components:[{guid,name}], components_without_guid, colliding_components:[{name,own_class,parent_class}], child_only_components:[{name,class}], compile_status, parent_match, compile_ok, variables_intact, components_intact, post_check_ok, rolled_back, rollback_complete, rollback_restored_components:[{guid,name}] (snapshotted nodes whose name MATCHES again after the rollback), rollback_unrestored_components:[{guid,expected_name,actual_name}], rollback_compile_messages:[{severity,text}], regressions:[string], saved_to_disk (always false -- this tool never saves), persistence_note, verification, verification_checks, success }

run_asset_action_utility

Destructive

Invoke one CallInEditor action of a scripted Asset or Actor Action Utility Blueprint (by asset path) on a new transient instance of its class, as the right-click menu does but with no Content Browser or level selection. function_name picks the action, case-insensitive, else the first one found; the reply always lists every action in action_functions. Only a parameterless action runs: one that takes parameters, a name that matches no action, a utility with no actions or an abstract utility class is a success with invoked=false and a note saying why. What the action does is up to its Blueprint; this tool saves nothing itself. A missing asset, one that is not a Blueprint, or a Blueprint that is not an Asset/Actor Action Utility is an error. Find them with list_scripted_action_utilities; create one with create_editor_utility_blueprint (parent_class "AssetActionUtility" or "ActorActionUtility").

Parameter Type Required Description
utility_path string yes Asset path of the utility Blueprint, e.g. "/Game/EditorTools/EUA_RenameTextures" (the object path form also works).
function_name string no Name of the CallInEditor action to run, case-insensitive; when absent the first action found on the class runs.

Returns: { utility_path, kind, generated_class, action_functions, function_name, function_found, invoked, note }

run_editor_utility_widget

Destructive

Open an Editor Utility Widget Blueprint (by asset path) as an editor tab through UEditorUtilitySubsystem: register its tab spawner and invoke the tab, which creates the widget and so runs whatever its Blueprint does on construct. The tab ID is the asset path plus _ActiveTab, so a repeat call brings back the same tab instead of adding a second one. Nothing is saved. widget_spawned is false when no live widget came back; in a commandlet nothing is registered and tab_id is empty. A missing asset, or one that is not an Editor Utility Widget Blueprint, is an error. Create one with create_editor_utility_widget_blueprint; find them with list_editor_utility_widgets; right-click actions: run_asset_action_utility.

Parameter Type Required Description
widget_blueprint_path string yes Asset path of the Editor Utility Widget Blueprint, e.g. "/Game/EditorTools/EUW_Tools" (the object path form also works).

Returns: { widget_blueprint_path, asset_path, tab_id, registration_name, registered, tab_exists, widget_spawned }

set_blueprint_class_replication

Destructive Idempotent Refused during PIE

Set class-level ACTOR replication on a Blueprint's CDO (bReplicates, optionally bAlwaysRelevant), compile, and read the values back off the RE-FETCHED post-compile CDO. Actor Blueprints only: a component Blueprint is refused (component replication is set_component_replication). Related reader trap: audit_replication's class_replicates reads the ACTOR flag, so it reports false for every component Blueprint whatever its CDO says.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of an Actor Blueprint (must be compiled at least once).
replicates boolean yes Whether the Actor class replicates to network clients. Required.
always_relevant boolean no Sets the Actor's bAlwaysRelevant flag; only applied when the field is present

Returns: { blueprint_name, replicates, always_relevant_set, always_relevant } -- values re-read from the CDO after compiling; always_relevant is only present when it was requested.

set_blueprint_component_array_element

Destructive Idempotent Refused during PIE

Author ONE element of a TArray property on a Blueprint component TEMPLATE (own SCS, or ICH-aware for a component inherited from an ancestor Blueprint): patch named struct members of an existing element, insert a new element at an index, or remove one. Every OTHER element is exported before and after and compared, so a whole-array rewrite that quietly loses the empty/None gaps cannot pass itself off as a targeted edit. There is deliberately NO 'move' operation.

Parameter Type Required Description
blueprint_name string yes Blueprint asset path or short name
component_name string yes Component variable name (own or inherited)
property_name string yes Name of the TArray property on the component template
index number yes 0-based element index. set_fields/remove need an existing index; insert accepts 0..Num (Num appends)
operation string no 'set_fields' (default), 'insert' or 'remove'
fields object no Object of { StructMemberName: value } applied to the element. Used by set_fields, and by insert when the element type is a struct
element any no Whole-element JSON value. Used by insert for NON-struct element types (or instead of 'fields' for a struct)
compile boolean no Optional bool (default true): compile so the edited template reinstances
save boolean no Optional bool (default true): save the Blueprint package after the compile

Returns: { success, error?, data: { blueprint_name, component_name, property_name, source, operation, index, inner_type, num_before, num_after, fields_applied[], field_errors[], siblings_unchanged, siblings_changed[], element_value, post_compile_num, post_compile_element, compiled, saved, save_error?, verification } }

set_blueprint_component_collision

Destructive Idempotent Refused during PIE

Set collision on a Blueprint component TEMPLATE (own SCS or inherited via ICH), not on a spawned actor, applying in this order: profile through SetCollisionProfileName (which expands the profile into the FBodyInstance response array -- a raw reflection write would set the string and leave BodyInstance inconsistent, and that is the whole reason this is a separate tool), then collision_enabled, then per-channel responses. Use it instead of set_blueprint_component_properties for anything collision-shaped. Unknown channel, response or collision_enabled names are hard errors, never a silent default. Note the ORDER: a later profile would reset the per-channel responses, so responses always win here.

Parameter Type Required Description
blueprint_name string yes Blueprint asset path or name (required)
component_name string yes Component to modify (required); must resolve to a UPrimitiveComponent or the call errors with "no collision to set"
profile string no Collision profile name, e.g. "BlockAll" (optional). Applied FIRST, so it does not undo the per-channel responses below.
collision_enabled string no ECollisionEnabled value name: NoCollision, QueryOnly, PhysicsOnly or QueryAndPhysics (optional). Any other string is an error.
responses object no Object mapping channel -> response, e.g. {"Visibility":"Ignore","ECC_Pawn":"Overlap"} (optional). Channels accept the friendly display name or an ECC_* token (custom project channels included); responses are Ignore, Overlap or Block. An unknown channel is refused rather than defaulting to WorldStatic.
compile boolean no Optional bool (default FALSE): compile the Blueprint afterwards so the FBodyInstance change reinstances on the next spawn/PIE. Without it the edit stays in the uncompiled template.
return_messages boolean no No effect here: it is only read by the compile this tool may run internally, whose message log is discarded. Call compile_blueprint directly if you want the messages.

Returns: { success, data: { blueprint_name, component_name, source ("scs" | "inherited-ich" | "inherited-native": which template was written), profile?, collision_enabled?, responses_applied: [{channel, response}], compiled } } -- responses_applied lists ONLY the per-channel writes; profile and collision_enabled appear as their own fields only when they were given; profile_read, collision_enabled_read and each response_read are read back from the template, and a mismatch fails the call. compiled is the compile's outcome.

set_blueprint_component_properties

Destructive Idempotent Refused during PIE

Set the DEFAULT of one or several properties on Blueprint component TEMPLATES -- own SCS components, ones INHERITED from a parent Blueprint (written as an InheritableComponentHandler override) and native subobjects -- with ONE compile and ONE save, then verify each value on the post-compile template. Use it for component templates: set_properties neither creates an inherited override nor compiles or saves; set_component_property edits placed actors. One write: component_name + property_name + property_value; several: overrides[]. TRAPS behind a green reply: (1) it can drop another component IN MEMORY -- count get_blueprint_components before and after, cure with reload_asset_package(on_dirty="discard"); (2) an object-reference write can land None and still report override_persisted:true -- check get_blueprint_component_overrides; (3) actors already placed keep their serialized value. Collision: set_blueprint_component_collision; override-free read: get_blueprint_component_property.

Parameter Type Required Description
blueprint_name string yes Blueprint asset path or short name
overrides array no Optional array of { component_name, property_name, property_value } objects, applied in the given order. Required unless the single-write form (component_name + property_name + property_value) is given; both together apply overrides[] first, then the single write.
component_name string no Optional single-write form: component variable name (own or inherited). Needs property_name and property_value too.
property_name string no Optional single-write form: property to set on that component template.
property_value any no Optional single-write form: the new value (any JSON type; same importer as set_component_property). An array value REWRITES THE WHOLE ARRAY, including the empty/None gaps -- set_blueprint_component_array_element edits one element and proves the siblings did not move.
compile boolean no Optional bool (default true). false skips the compile: nothing is verifiable, every entry reports matches_requested=false with verification_status='not_verifiable'
save boolean no Optional bool (default true). Saves the Blueprint package ONCE, after the compile

Returns: { success, error?, data: { blueprint_name, requested_count, applied_count, verified_count, mismatched_count, failed_count, compiled, saved, save_error?, equality_predicate, results: [{ index, component_name, property_name, source, component_class, override_persisted, applied, apply_error?, verification_status, matches_requested, post_value, post_source, note? }], verification } } -- source tells which template was hit (scs / inherited-ich / inherited-scs / inherited-native); component_class is that template's class, read before the compile; override_persisted is false only when an inherited-ich override did not survive the compile.

set_blueprint_function_pure

Destructive Idempotent Refused during PIE

Mark a Blueprint function as PURE (or back to impure), the editor's "Pure" checkbox: a pure function has no exec pins and is re-evaluated wherever its output is read. REQUIRED to finish a UMG property binding -- FDelegateEditorBinding::IsBindingValid refuses any function that is not FUNC_BlueprintPure or const, so add_widget_property_binding will report valid:false until this has been run on the function. The counterpart reader is get_blueprint_functions's is_pure, which reads the same flag off the same UK2Node_FunctionEntry. WARNING: Turning a function pure REMOVES its exec pins: any existing wire into or out of them is dropped by the reconstruct, so do this BEFORE building the function's body, not after.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of the Blueprint owning the function.
function_name string yes Name of the function GRAPH (not an event; events cannot be pure).
is_pure boolean no true to mark pure (default true), false to make it impure again.

Returns: { blueprint_name, function_name, is_pure, was_pure, changed, function_flags } -- is_pure is RE-READ from the entry node after the compile, so it is evidence and not an echo.

set_blueprint_function_rpc

Destructive Idempotent Refused during PIE

Turn a Blueprint FUNCTION into an RPC (rpc_type Server / Client / NetMulticast, or NotReplicated to undo it, plus reliable), then compile and read the FUNC_Net* flags back off the entry node. This is the ONLY headless way to author an RPC THAT TAKES ARGUMENTS: add_function_parameter cannot reach a custom event, so build the RPC as add_blueprint_function -> compile_blueprint -> add_function_parameter -> here. Engine limits that follow: a replicated function cannot return a value and cannot host latent nodes (put a Delay in a separate, parameterless custom event).

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of the Blueprint.
function_name string yes Name of an existing FUNCTION graph on the Blueprint (a custom event has no entry node here and is refused).
rpc_type string yes One of "NotReplicated", "Server", "Client", "NetMulticast" (case-insensitive).
reliable boolean no Mark the RPC reliable; ignored (and cleared) when rpc_type is NotReplicated; defaults to false

Returns: { blueprint_name, function_name, rpc_type, is_net, reliable, function_flags } -- re-read from the entry node's flags after compiling; rpc_type is the RESOLVED type, so compare it with what you asked for. Proof that the call really crosses the wire is not here: drive it in PIE and read the resulting state on the OTHER side.

set_blueprint_variable_default

Destructive Idempotent Refused during PIE

Set the default value of a variable DECLARED on this Blueprint: writes the live CDO and mirrors the result back into the serialized variable description so it survives save/reload. LIMIT (not a lie, a hard boundary): it CANNOT touch an INHERITED variable -- it answers "Variable 'X' is not declared on this blueprint" -- so the "child that only overrides a parent default" pattern needs the CDO route (execute_python + set_editor_property + compile_blueprint + save). And on a class with actors already placed in a level, the placed instances keep their serialized value: verify on the instances, never on the CDO.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path
variable_name string yes Name of a variable declared on THIS Blueprint (inherited ones are refused)
value string no New default in exported-text form, parsed into the variable's type; empty allowed. A value the type cannot parse is an error AND the previous value is restored (the engine's struct import zeroes the target before parsing, so a failed parse wipes the CDO).

Returns: { blueprint_name, variable_name, default_value, roundtrip_verified } -- default_value is re-exported from the CDO after the write, so it is the real stored value. WARNING: roundtrip_verified:false means the exported text does NOT re-import into the type (e.g. FGameplayTagContainer): the CDO holds the right value and the compiler's property copy carries it, but the serialized description was deliberately left empty because feeding an unparseable string back through a Full compile ZEROES the default. Verify that variable on the CDO after compiling, and prefer wiring it in the graph if it must survive a fresh regeneration.

set_blueprint_variable_metadata

Destructive Idempotent Refused during PIE

Set the editor-facing checkboxes and text of an existing Blueprint variable: instance_editable (per-instance editability), save_game (CPF_SaveGame -- whether the variable goes into a .sav), expose_on_spawn (adds the variable as a pin on SpawnActor), category and tooltip. Only the fields present are touched; passing none is an error. This is the fix for a variable created by add_blueprint_variable, which is born NOT instance-editable while the readers report it as editable. Variable must be declared on THIS Blueprint; on a library variable the answer is a child class of your own, not this call. WARNING: this call does NOT compile: it structurally-modifies the Blueprint, which regenerates the SKELETON only, so a save_game just written is authored but NOT yet on the generated class the save archive reads -- the response says so in save_game_needs_compile, and the loop that finishes the job is compile_blueprint -> save_asset -> get_blueprint_variable_detailed_info and check save_game_generated.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
variable_name string yes Name of a variable declared on THIS Blueprint (inherited ones are refused).
instance_editable boolean no true = editable on each placed actor. Verify by WRITING the placed instance and reading it back; the reporting field is unreliable for every variable.
save_game boolean no true = tick "SaveGame" (CPF_SaveGame), so a SaveGame archive (ArIsSaveGame) serializes this variable; false unticks it. The only headless way to set this flag -- set_properties, Python, set_blueprint_variable_replication and BlueprintEditorLibrary all refuse it. Needs a compile to reach the generated class.
expose_on_spawn boolean no true = the variable shows up as an input pin on SpawnActorFromClass. Verify on the NODE's pins, not on get_blueprint_variables' expose_on_spawn, which reports false for variables that ARE exposed.
category string no Category to group the variable under in the editor
tooltip string no Tooltip text shown for the variable

Returns: { blueprint_name, variable_name, updated, save_game?, save_game_generated?, save_game_needs_compile? } -- updated:true only means at least one field was applied, not that it persisted. The three save_game_* fields appear only when save_game was passed, and are READ BACK after the write: save_game off the variable descriptor, save_game_generated off the FProperty of the generated class.

set_blueprint_variable_replication

Destructive Idempotent Refused during PIE

Set a Blueprint variable's replication mode -- None / Replicated / RepNotify (RepNotify also creates the OnRep_<Variable> function graph if missing) -- then compiles and reads CPF_Net/CPF_RepNotify back. TRAP: the full green report can come back WITHOUT the flag surviving into the generated class (a variable reported is_replicated:true that never replicates; re-running this same call fixes it). The ground truth is audit_replication (its payload's replicated_variables list), then compile and re-audit -- never this return, and never one client alone.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of the Blueprint.
variable_name string yes Name of a variable DECLARED on this Blueprint (inherited/native variables are refused).
mode string yes One of "None", "Replicated", "RepNotify" (case-insensitive). "None" also clears the RepNotify function and resets the lifetime condition.

Returns: { blueprint_name, variable_name, mode, is_replicated, is_rep_notify, rep_notify_func, property_flags } -- read back from the variable's flags after compiling, which is necessary but NOT sufficient (see the trap above).

set_component_replication

Destructive Idempotent Refused during PIE

Set bReplicates on ONE SCS component TEMPLATE of a Blueprint (the archetype, not a spawned actor's instance), compile, and read it back off the template. It governs the component's own PROPERTY replication; note that a component declared in the SCS already routes its RPCs through its stable network name WITHOUT this flag (a component added at RUNTIME does not, and loses them). For the owning actor use set_blueprint_class_replication.

Parameter Type Required Description
blueprint_name string yes Name (or full object path) of the Blueprint.
component_name string yes SCS component variable name on this Blueprint (inherited-only components have no local SCS node and are not found).
replicates boolean yes Whether the component should replicate. Required.

Returns: { blueprint_name, component_name, replicates } -- replicates is re-read from the template after compiling.

set_event_dispatcher_signature

Destructive Idempotent Refused during PIE

Add to (mode="add", the idempotent default) or rewrite (mode="replace") the parameter list of a dispatcher this Blueprint OWNS -- inherited dispatchers have no local signature graph and are refused with the list of owned ones. Every requested type is resolved BEFORE anything is mutated, so a bad type aborts cleanly. The parameters become the OUTPUT pins of every bound handler and the INPUT pins of add_broadcast_node; existing nodes keep stale pins until compile_blueprint reconstructs them.

Parameter Type Required Description
blueprint_name string yes Blueprint asset name or path that OWNS the dispatcher (inherited dispatchers cannot be edited here).
dispatcher_name string yes Name of an existing event dispatcher (created by add_event_dispatcher or the editor).
params array yes Array of parameter specs to add: [ { name: string, type: string } ]. Dispatcher params are input-only; 'type' accepts the same strings as add_function_parameter (bool, int, int64, float, string, name, text, byte, Vector, Array<T>, an object/class/struct/enum name or path).
mode string no "add" (default, idempotent: skip a param whose name already exists) or "replace" (clear the existing signature first, then add the given params).

Returns: { blueprint_name, dispatcher_name, mode, added: [string], params: [ { name, type } ], param_count }

set_function_parameter_type

Destructive Idempotent Refused during PIE

Change the TYPE of an existing parameter of a Blueprint function, macro or custom event, keeping its name and place, as the Details panel's type picker does; unlike remove_function_parameter + re-add, it keeps the links that still fit.

The type changes on the Entry node (input), every Result node (output), the macro tunnel or the event node, and the default value is cleared. Every LOADED call site is rebuilt and each link the new type no longer allows is broken: links_broken lists them with both ends; links_kept counts the rest. Unloaded callers update when compiled.

param_type is spelled as for add_function_parameter; new_type is read back from the pin. The same type again is a no-op (changed=false). Nothing is compiled or saved: compile_blueprint this Blueprint and each in blueprints_to_compile. A signature that comes from an interface or parent function is refused: change it there, or use reconcile_function_signature. Refused during PIE unless force=true.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
function_name string yes Name of the function graph, else of a macro graph, else of a custom event.
param_name string yes The parameter to retype, as get_function_pins or add_function_parameter names it.
param_type string yes The new type: bool, int, int64, float, string, name, text, byte, Vector, or a struct/enum/class/object name or path, optionally in a container ("int[]", "Set<Name>", "Map<Name,int>"); "exec" on a macro.
is_output boolean no true to retype an output/return parameter, false (default) an input. A custom event has inputs only.

Returns: { blueprint_name, function_name, param_name, is_output, graph_kind, old_type, new_type, container, changed, default_value_cleared, call_sites_refreshed, links_kept, links_broken: [{node_id, node_title, pin, linked_node_id, linked_node_title, linked_pin, blueprint}], blueprints_to_compile: [string], note? }

set_mesh_material_color

Destructive Idempotent Refused during PIE

Tint one material slot of a Blueprint component template by creating a DYNAMIC material instance (MID) over the current or given material, setting one vector parameter, and assigning the MID to the slot. A MID is a RUNTIME object, so this is a quick preview, NOT the way to author a change that must survive save/reload -- for a persistent tint make a MaterialInstanceConstant and assign it with apply_material_to_blueprint. A parameter_name the material does not declare is accepted silently and simply does nothing.

Parameter Type Required Description
blueprint_name string yes Name of the blueprint
component_name string yes Name of an OWN SCS component; must be a UPrimitiveComponent
color array yes RGBA color [R, G, B, A] as floats, each clamped to 0.0-1.0; exactly 4 values are required
material_slot integer no Optional slot index; defaults to 0
parameter_name string no Optional vector parameter name; defaults to "BaseColor". A name the material does not declare is NOT reported as an error -- it just has no visible effect.
material_path string no Optional material asset path to use as the MID's parent; without it the component's current slot material is used, falling back to /Engine/BasicShapes/BasicShapeMaterial

Returns: { component: string, material_slot: int, parameter_name: string, color: [number, number, number, number], success: bool } -- success:true only means the MID was created and assigned; re-read with get_blueprint_material_info after a save/reload to see whether anything persisted.

set_pin_default_value

Destructive Idempotent Refused during PIE

Core tool: every client lists it by default.

Write the literal default of an UNCONNECTED input pin and return the value read BACK off the pin, in a Blueprint graph, a MetaSound Source or a Control Rig.

Blueprint: struct pins are canonicalized -- a bare GameplayTag name becomes (TagName="X"), and an UNREGISTERED tag is rejected up front instead of silently landing as an empty tag; value_json nativizes any struct and is the only way to put SEVERAL tags in a GameplayTagContainer; a plain string is fine for an FText pin. Refused: array, set and map pins (use a MakeArray/MakeSet/MakeMap node), pins split into sub-pins (recombine_blueprint_pin first), and any call while Play-in-Editor runs (see force). TRAP: on a FormatText "Format" pin the literal IS written but the {argument} pins are NOT created, leaving a valid, useless node -- build the string with Concat_StrStr / Conv_StringToText instead.

MetaSound: value is read as the input's type ("440", "true", "Hello"), node_id=@input sets a graph input's default, and the asset is saved. Control Rig: value is export text such as (X=1.0,Y=0.0,Z=0.0); the rig is compiled and saved. Material expressions, sound cue nodes and PCG nodes keep such values as properties: write them with set_properties on the node's object_path from get_graph_nodes.

Parameter Type Required Description
asset_path string yes The graph asset: a Blueprint by name or path, or the path of a MetaSound Source or Control Rig.
node_id string yes node_id of the node owning the pin (from add_graph_node / get_graph_nodes), or @input on a MetaSound
pin_name string yes Pin name; in a Blueprint an INPUT pin of that name is preferred, any pin with the name is the fallback
blueprint_name string no Older name of asset_path, still accepted.
value string no Literal default in the pin's exported-text form; empty string allowed (clears it). For a Blueprint struct pin, "()" clears and a leading "(" is passed through untouched.
value_json object no Optional JSON object nativized into the struct's export-text form, for Blueprint STRUCT pins only. For an FGameplayTagContainer it must carry a "GameplayTags" array (["A","B"] or [{"TagName":"A"}]) and every tag is validated; takes precedence over 'value'.
graph_name string no Blueprint only: the graph, default the event graph. The other assets have one graph: leave it out.

Returns: { node_id, pin_name, default_value, graph_kind? } -- default_value is re-read from the pin AFTER the write, so it is the oracle for what actually landed (a rejected value shows up as the old one); for a MetaSound or Control Rig the reply is its editor's own, with the value read back.

set_property_access_path

Destructive Idempotent Refused during PIE

Rewrite a UK2Node_PropertyAccess node's binding Path and reconstruct the node so the leaf property re-resolves and the Value pin re-types, then return the path READ BACK -- so resolved:true is real evidence the new binding points at something. It does NOT recompile: follow with compile_blueprint with return_messages=true. reconstructed:false means the PropertyAccessEditor feature was unavailable: the path WAS written but text_path/resolved_pin stay stale until the graph reopens.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path (usually an Animation Blueprint).
node_id string yes NodeGuid of the property-access node; any other node class is refused by name.
path array|string no The new path: either an array of segment strings (["InAnimInstance","Foo"]) OR a dotted string ("InAnimInstance.Foo"). An empty result is an error, never a cleared binding.
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted.

Returns: { node_id, graph_name, reconstructed, path:[string], text_path, resolved, resolved_pin, note? } -- path/text_path/resolved are re-read AFTER the reconstruct, so they are the oracle rather than an echo.

set_replication_condition

Destructive Idempotent Refused during PIE

Set the ELifetimeCondition (COND_OwnerOnly, COND_SkipOwner, COND_InitialOnly...) that decides WHICH clients get a replicated variable, then compile. It is the second half of set_blueprint_variable_replication, which decides WHETHER it replicates at all: on a variable that is not Replicated/RepNotify the condition is stored and completely INERT, and the response says so through is_replicated:false plus a "note". Blueprint-declared variables only.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
variable_name string yes Name of a variable DECLARED on this Blueprint (inherited ones are refused).
condition string yes ELifetimeCondition name, with or without the COND_ prefix (e.g. "OwnerOnly" or "COND_OwnerOnly"); an unknown name is an error.

Returns: { blueprint_name, variable_name, condition, is_replicated, note? } -- condition is the canonical COND_ name that was stored; is_replicated:false means the setting has no effect yet.

split_blueprint_pin

Destructive Refused during PIE

Split a struct-typed pin (Vector, Rotator, Transform...) into its scalar sub-pins and return their names, so each component can be wired or defaulted on its own instead of writing the whole struct literal. Refused when the schema says the pin is not splittable. Note the interaction: set_pin_default_value REFUSES a pin that is currently split -- recombine_blueprint_pin first if you want to write the struct as one value.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
node_id string yes NodeGuid of the node owning the pin.
pin_name string yes Name of the struct pin to split (either direction).
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted

Returns: { split, sub_pins:[string] } -- sub_pins are the names to pass to connect_pins / set_pin_default_value from now on (e.g. "NewLocation_X").

validate_pin_connection

Read-only

Dry-run the K2 schema's verdict on a pin pair WITHOUT touching the graph: returns valid plus the schema's own message (which names the incompatible types) and its raw response code. connect_pins runs the same check and then connects, so use this one to test a plan before committing a build_blueprint_graph batch whose rollback can be refused, or to find out WHY a connection was rejected without leaving anything behind.

Parameter Type Required Description
blueprint_name string yes Blueprint name or path.
source_node_id string yes NodeGuid of the source node.
source_pin string yes Output pin name on the source node (falls back to any pin with that name).
target_node_id string yes NodeGuid of the target node; must be in the same graph as the source.
target_pin string yes Input pin name on the target node (falls back to any pin with that name).
graph_name string no Target graph name; defaults to the Blueprint's event graph when omitted
asset_path string no Alias of blueprint_name: the same value with the same meaning. Pass one of the two.

Returns: { valid, message, response_code } -- valid is false only for an outright DISALLOW; a response that would connect WITH a conversion node or by breaking an existing link still reports valid:true, and "message" is where that shows.