set_grid
Show or hide the Dungeondraft editor grid and keep the View menu checkbox in sync. Use it to control grid visibility in editor screenshots without changing exports or saved map settings.
Instructions
Show or hide the grid in the editor view. Returns {grid_visible, grid_toggle}.
It works the View menu's own grid checkbox, so the menu and the screen
agree; grid_toggle is that checkbox's state. This changes only what the
editor (and so screenshot) shows. Exports keep their own `grid` option and
put the editor grid back afterwards.
It is not saved: neither the map file nor Dungeondraft's settings keep it,
so opening a map or restarting Dungeondraft shows the grid again.
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": {
"visible": "<visible>"
},
"name": "set_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes |