spawn_static_mesh
Spawns a static mesh actor in Unreal Engine using an existing mesh asset from the content browser, with support for transform, material, and color parameters.
Instructions
Spawn a static mesh actor using an existing static mesh asset from the content browser.
Parameters:
kwargs: String containing parameters as key=value pairs or JSON object Example: "static_mesh=/Game/AssetName/Meshes/Bench01 location=100,100,0 name=MyBench"
Supported parameters:
static_mesh: (required) Path to the static mesh asset
actor_label/name: Name for the actor
location: x,y,z location coordinates
rotation: pitch,yaw,roll rotation in degrees
scale: x,y,z scale factors
material_override: Path to material to use
color: r,g,b color values (0.0-1.0)
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": {
"kwargs": "<kwargs>"
},
"name": "spawn_static_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kwargs | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |