generate_dungeon
Generates a complete dungeon or cave layout in one call using Dungeondraft's procedural generator, replacing an empty map's layout so you can build rooms and corridors before placing details by hand.
Instructions
Run Dungeondraft's own procedural generator: a whole layout in one call.
design: "Dungeon" for rooms and corridors, "Cave" for organic caverns.
Omit to use whatever the app's Map Wizard currently has selected.
floor / wall: texture indices from generator_options. They must be passed
HERE rather than set beforehand — enabling the generator resets the
wizard's pickers, so a choice made earlier is discarded. Set the numeric
dials with generator_options first; those do survive.
The response reports the design actually generated, read back from the
wizard — not the one requested.
This REPLACES the level's layout, so run it FIRST, on an empty map, after
set_map_size and before placing anything by hand. Re-generating works, but
Dungeondraft's own UI does not offer it: treat it as a do-over on an
undecorated map, not a way to iterate on work.
It gives structure, not a finished map. Character comes from scatter,
shadow paths along the walls, floor shapes and terrain.
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": "generate_dungeon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wall | No | ||
| floor | No | ||
| design | No |