add_spline_component
Add a Spline component to a Blueprint to define a curved 3D path with editable points for instance placement.
Instructions
Add a Spline component to a Blueprint.
From Ch. 19: The Spline component defines a curved path in 3D space. Its points can be edited in the Level Editor (Add Spline Point Here, translate and rotate points). Used with GetLocationAtDistanceAlongSpline and GetRotationAtDistanceAlongSpline for instance placement.
Args: blueprint_name: Blueprint to add the Spline component to component_name: Component name num_points: Initial number of spline points (minimum 2)
KB: see knowledge_base/10_WORLD_BUILDING.md#overview Example: add_spline_component(blueprint_name="/Game/MCP_Test/BP_Example")
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>"
},
"name": "add_spline_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num_points | No | ||
| blueprint_name | Yes | ||
| component_name | No | Spline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |