inspect_map_file
Summarize a .dungeondraft_map file without opening it to check missing packs, map warnings, and level details, or compare two maps for rebuild changes.
Instructions
Summarise a .dungeondraft_map file without opening it. Read-only.
Works with Dungeondraft closed, and on maps the user downloaded or was
sent. Reports what a render cannot show:
- `packs`: each pack the map includes, whether it is installed and how
many textures use it. `packs_missing` are not installed: those
elements will be missing when the map opens. Check this before opening
someone else's map.
- `packs_used_but_not_included`: elements Dungeondraft drops on load.
- per level: element counts, ambient light, terrain slot shares,
materials by layer and coverage, paths by texture, width and layer,
the most used objects with their scales, lights (range in the editor's
units) and portals, with `vtt_reversed`: doors left open or windows
closed, which swap roles in a VTT export.
- `warnings`: each of the above that will cause a visible problem, and
why `installed` is null if the pack folder could not be read.
compare_to: a second map to compare with, e.g. a rebuild and its
original. `comparison` lists count changes, objects and paths only in
one map, scale and terrain share changes.
Lists stop at 25 entries per kind; counts are complete.
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": {
"path": "<path>"
},
"name": "inspect_map_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| compare_to | No |