get_snap_settings
Reports the user's Dungeondraft snap settings and grid geometry (square, hex, isometric), so placement tools can match or bypass snapping and coordinates land where intended.
Instructions
Report the grid the user snaps to. Read-only.
Dungeondraft's snapping (and the Custom Snap Mod's square or hex grid)
moves the MOUSE, so coordinates you pass are placed exactly as given.
Placement tools take `snap` to match the user's grid instead:
'none' place exactly where asked. Pass it only when the user asks for
exact coordinates; otherwise leave snap out, and the user's
Placements choice in Dungeondraft's Battlemap MCP Bridge panel applies.
'auto' snap to the Custom Snap Mod's grid when the user has snapping
on and the mod enabled - where their own cursor would land.
Otherwise nothing moves, and the reply says why.
'grid' snap to the mod's grid if it is enabled, else to the grid
Dungeondraft's own tool uses: the tile (256) for walls, rooms,
lights, moves and prefabs, the half tile (128) for objects,
doors and windows, paths and copies. Ignores the S toggle.
Returns vanilla_snapping, mod_loaded, mod_enabled, preset, `placements`
(the panel's default for an omitted snap, with a note on using it) and `grid`
(geometry square/hex_h/hex_v/isometric, interval, offset, radial mode).
Isometric snaps as horizontal hex where the mod does (snaps_like), and is
otherwise reported and never applied.
On a hex map, build on that lattice and say so. Never change the user's
snap settings; they are theirs.
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": "get_snap_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||