blueprint_add_variable
Adds a member variable to an Unreal Engine Blueprint asset, then compiles and saves it. Specify the Blueprint path, variable name, and type to extend the asset's functionality.
Instructions
Add a member variable to a Blueprint, then compile and save.
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_path": "<blueprint_path>",
"name": "<name>",
"type": "<type>"
},
"name": "blueprint_add_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Variable name. | |
| type | Yes | Blueprint type descriptor | |
| category | No | Editor category for organization. | |
| default_value | No | Optional default value (JSON-serializable). | |
| blueprint_path | Yes | Content path of the Blueprint asset, e.g. /Game/Blueprints/BP_Door. |