set_static_mesh_properties
Assign a static mesh and optional material to a StaticMeshComponent in a Blueprint, using asset paths for each.
Instructions
Assign a static mesh (and optionally a material) to a StaticMeshComponent.
Args: blueprint_name: Blueprint name component_name: StaticMeshComponent name static_mesh: Asset path (e.g., "/Engine/BasicShapes/Sphere.Sphere") material: Optional material asset path
KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: set_static_mesh_properties(blueprint_name="/Game/MCP_Test/BP_Example", component_name="ExampleComponent")
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>"
},
"name": "set_static_mesh_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | ||
| static_mesh | No | /Engine/BasicShapes/Cube.Cube | |
| blueprint_name | Yes | ||
| component_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |