scene_remove_entities
Removes entities from a copy of a scene save by exact names or a name prefix, so unwanted placed objects can be deleted without rebuilding the level from the base map.
Instructions
Take things that were placed in the scene out of a copy of a save: a floor piece that was laid in the wrong place, a row of fences that turned out not to be needed, the pieces of a version of the scene that is being replaced. names is a list of entity names (each exactly, as scene_list_entities gives them; every entity of that name goes), or namePrefix takes all whose names begin with it (at least two characters). Importing a scene can only add; this is how to take away without starting over from the base map. The entities every map has by itself (the stage entity, the player slots) are refused. A graph that looks a removed thing up by its GUID finds nothing afterwards. Returns a new .gil; the official save is not touched, so go on from the copy. Seen in the game on 2026-10-13: a level with three of its wall pieces removed opened in the editor and played, the walls gone and the rest as before.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scene_remove_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | No | ||
| mapPath | No | ||
| namePrefix | No | ||
| outputName | No |