place_objects
Place multiple map objects at exact positions in one batch, checked and rolled back as a single undo step. Use for deliberate layouts like rows of tables or a furnished bar.
Instructions
Place many objects at chosen positions in ONE call and ONE undo step.
Use it whenever you know where several things go: a row of tables, the
dressing on a bar, eight trees ringing a clearing. Each entry takes the
same arguments as place_object and behaves identically.
`scatter_objects` is for RANDOM arrangement over an area; this is for
deliberate positions.
Up to 100 entries in `objects`. Every asset is checked before anything is
placed, and if one entry fails the whole batch is rolled back, so the map
never holds a half-finished batch whose ids you were not told.
file: an absolute path to a JSON file of the same entries (a list, or
{"objects": [...]}), up to 1000. Use it when a script computed the
positions: write the file and pass its path instead of copying hundreds
of entries into the call. The reply is compact: `placed`, `id_ranges`
([first, last] runs of ids) and `colorable_without_color`.
Returns `objects`: one {id, position, layer} per entry, in the order you
passed them (with `light_id` for an entry that has a `light`), plus `ids`.
Entries placed from a colourable asset with no color are listed in the
note: those are flat red, and colour cannot be added afterwards. Give each
one a color that suits it; if nothing fits better, Dungeondraft's own
default is #6b3834.
One undo() reverses the whole batch while it is the latest operation.
snap applies to every entry with an x and y; see get_snap_settings.
A batch placed entirely at scale 1.0 on quarter turns comes back with an
`arrangement_note`: most placements read better with slight variation.
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": "place_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| snap | No | ||
| objects | No |