export_dd2vtt
Export the open battle map as a Universal VTT file (.dd2vtt/.uvtt) for Foundry, Roll20, and Arkenforge, including walls, doors, windows, lights, and light-blocking object outlines.
Instructions
Write the open map as a Universal VTT file (.dd2vtt) for Foundry, Roll20, Arkenforge and other VTTs. Read-only for the map.
Contains the map image (rendered like export_map), its walls as sight
lines broken at each door and window, every portal (closed = an openable
door, open = a window, which is all a VTT can tell), lights, the ambient
light, and an outline for each object that blocks light.
path: absolute .dd2vtt or .uvtt file to write, in a folder that exists
(any other extension becomes .dd2vtt). Omitted: beside the saved map,
named after it. An existing file is refused unless overwrite=true.
ppi: pixels per grid square in the image (Foundry's default is 100).
grid: draw the grid into the image; VTTs usually draw their own.
Object outlines are the drawn area's bounding box, coarser than
Dungeondraft's own export. Check `vtt_reversed_portals` from
validate_floorplan first: a door left open arrives as a window.
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": "export_dd2vtt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ppi | No | ||
| grid | No | ||
| path | No | ||
| timeout | No | ||
| overwrite | No |