set_component_property
Modify a Blueprint component's property in Unreal Engine by specifying the Blueprint, component, property name, and value. Supports bools, ints, floats, strings, and vector arrays for direct editor automation.
Instructions
Set any property on a Blueprint component.
Args: blueprint_name: Blueprint name component_name: Component name property_name: C++ property name (e.g., "TargetArmLength", "bUsePawnControlRotation") property_value: Value (bool, int, float, string, or [x,y,z] array for vectors)
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: set_component_property(blueprint_name="/Game/MCP_Test/BP_Example", component_name="ExampleComponent", property_name="ExampleName", property_value="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>",
"component_name": "<component_name>",
"property_name": "<property_name>",
"property_value": "<property_value>"
},
"name": "set_component_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property_name | Yes | ||
| blueprint_name | Yes | ||
| component_name | Yes | ||
| property_value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |