List or inspect scene entities
scene_entitiesList and filter Mount & Blade II scene entities by name, prefab, tag, script, mesh, or distance, and return full XML for one entity; query live editor scenes when needed.
Instructions
Lists entities of a scene file with handles ([12], [12/0] for children), name, prefab, mesh, position, rotation (degrees), scale, tags and scripts; filters by name/prefab/tag/script/mesh or distance. entity=<handle|name> returns the entity's XML. live=true lists the scene open in the Modding Kit editor (#handles are session ids for scene_edit live=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Exact tag. | |
| live | No | Query the scene open in the running editor (default false). | |
| mesh | No | Substring of a meta mesh name (file mode). | |
| name | No | Substring (or /regex/) of the entity name. | |
| near | No | Only entities within `radius` of this [x, y, z] point. | |
| limit | No | Max rows (default 60). | |
| scene | No | Scene name, Module/scene or path (file mode). | |
| entity | No | Handle or name of one entity to show in full. | |
| module | No | Module to look in when the scene name is ambiguous. | |
| offset | No | Skip rows (paging). | |
| prefab | No | Substring of the prefab name (files: prefab or old_prefab_name; live: linked prefab instances). | |
| radius | No | Radius in meters for `near` (default 10). | |
| script | No | Exact script component name (file mode). | |
| selected | No | live=true: only the editor's current selection. | |
| recursive | No | Include child entities (default: true when filtering, false otherwise). |