spawn_actor
Spawn a new actor in the current Unreal Engine level by specifying its class and optional location, rotation, scale, and label.
Instructions
Spawn a new actor in the current level.
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 |
|---|---|---|---|
| label | No | Actor label in the editor | |
| scale | No | Actor scale (default: 1,1,1) | |
| location | No | ||
| rotation | No | ||
| actor_class | Yes | Actor class to spawn (e.g., StaticMeshActor, PointLight, CameraActor) |