set_blueprint_variable_default
Set a Blueprint variable's default value directly, updating both the variable definition and CDO for immediate effect. Provide blueprint, variable, and new default string.
Instructions
Set the default value of a Blueprint member variable.
Updates both the FBPVariableDescription record and the CDO property via ImportText so changes are visible immediately without a full recompile.
Args: blueprint_name: Asset name of the Blueprint. variable_name: Exact name of the variable to update. default_value: New default value as a string (e.g. '42', 'true', '(X=1.0,Y=2.0,Z=3.0)' for vectors).
Returns: Dict with 'blueprint', 'variable_name', 'default_value', 'success'.
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: set_blueprint_variable_default(blueprint_name="/Game/MCP_Test/BP_Example", variable_name="ExampleName", default_value=0.0)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| default_value | Yes | ||
| variable_name | Yes | ||
| blueprint_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |