bp_create_graph
Create a new function or macro graph inside an existing Blueprint for custom logic. Use it to add callable graphs like InitPlayer or CalculateDamage, then populate them with nodes.
Instructions
Add a new function or macro graph to an existing Blueprint.
Use this to create new function graphs that can be called from the EventGraph or other functions. After creation, use bp_add_node to populate it with nodes.
Note: 'EventGraph' already exists in every Blueprint — do not create it. Use bp_create_graph for custom function graphs (e.g. 'InitPlayer', 'CalculateDamage') or macro graphs.
Args: blueprint_name: Blueprint asset name (e.g. 'BP_MyActor') graph_name: Name for the new graph (e.g. 'InitPlayer') graph_type: 'function' (default) or 'macro'
Returns: JSON string with StructuredResult. outputs.graph_name — confirmed graph name created
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: bp_create_graph(blueprint_name="/Game/MCP_Test/BP_Example", graph_name="EventGraph")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_name | Yes | ||
| graph_type | No | function | |
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |