editor_delete_actor
Deletes a loaded actor via editor Undo/Redo history; set deleteDescendants to true to remove its full hierarchy, or false to reject actors with children.
Instructions
Deletes a loaded actor through the editor Undo/Redo history. Set deleteDescendants to true to explicitly delete its complete hierarchy; false rejects actors with children.
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": {
"actorId": "<actorId>",
"deleteDescendants": "<deleteDescendants>"
},
"name": "editor_delete_actor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actorId | Yes | Actor GUID from editor_scene_graph. | |
| deleteDescendants | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actorId | Yes | ||
| mainThreadId | Yes | ||
| deletedActorIds | Yes | ||
| deletedDescendants | Yes |