spawn_actor
Spawn an Unreal Engine actor class in the current level with optional position, rotation, and scale.
Instructions
Spawn an actor from a class.
actor_class accepts a short engine class name ('StaticMeshActor',
'PointLight', 'CameraActor'), a full class path
('/Script/Engine.StaticMeshActor'), or a Blueprint generated-class path
('/Game/BP/MyActor.MyActor_C'). location/rotation/scale are
[x,y,z] (rotation is [roll,pitch,yaw]).
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": {
"actor_class": "<actor_class>"
},
"name": "spawn_actor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_class | Yes | ||
| location | No | ||
| rotation | No | ||
| scale | No | ||
| label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |