delete_actor
Removes an actor by name from the Unreal Editor world. Detaches children without destroying them; optional force flag overrides attached-children safety check.
Instructions
Remove an actor from the editor world by name (label or FName). Children are detached, not destroyed (UE's default behavior). Force flag overrides the children-attached safety check.
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": {
"name": "<name>"
},
"name": "delete_actor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Actor label OR FName. | |
| force | No | When false (default), refuses to delete if children are attached and returns has_children error. When true, deletes anyway. |