add_direct_blueprint_reference
Add a variable to a Blueprint for holding a direct reference to another Blueprint class, enabling direct function calls between actors.
Instructions
Add a variable to hold a direct reference to another Blueprint.
This is the Direct Blueprint Communication pattern - you store a reference to another actor and call its functions directly.
Args: blueprint_name: Blueprint that will hold the reference target_blueprint: Blueprint class to reference variable_name: Variable name for the reference is_exposed: Make editable in editor (required to assign via editor)
KB: see knowledge_base/02_BLUEPRINT_COMMUNICATION.md#overview Example: add_direct_blueprint_reference(blueprint_name="/Game/MCP_Test/BP_Example", target_blueprint="/Game/MCP_Test/BP_Example", variable_name="ExampleName")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blueprint_name": "<blueprint_name>",
"target_blueprint": "<target_blueprint>",
"variable_name": "<variable_name>"
},
"name": "add_direct_blueprint_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_exposed | No | ||
| variable_name | Yes | ||
| blueprint_name | Yes | ||
| target_blueprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |