add_custom_event
Add a custom event node to a Blueprint event graph, creating an explicit gameplay entry point for later wiring. Use after inspecting existing events to avoid duplicate names, then compile and read back the graph.
Instructions
Add a Custom Event node to a Blueprint event graph.
Use this for explicit gameplay entry points that will be wired by later graph operations. Inspect existing events first to avoid duplicate event names, then compile and read back after wiring.
Args: blueprint_name: Blueprint asset name or path. event_name: Custom event/function name to create. node_position: Optional [X, Y] graph position.
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#events-and-dispatch Example: add_custom_event(blueprint_name="/Game/MCP_Test/BP_Example", event_name="OnInteract")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_name | Yes | ||
| node_position | No | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |