set_tool_layer
Set the drawing layer a Dungeondraft tool uses for all subsequent placements, such as rugs under furniture or bridges over water; check applied to confirm the layer took effect.
Instructions
Set which layer a tool draws on, for everything it places afterwards.
Use it to put a rug under furniture, a bridge over water, or roots below
the ground. Call get_tool_layer first to see the current layer and the
range.
Check `applied` in the response: Dungeondraft silently keeps its current
layer if it will not accept the one you asked for, and the response reports
what the tool actually holds rather than what you requested.
tool: e.g. "ObjectTool", "PathTool", "PatternShapeTool".
layer: layer VALUE, a multiple of 100 from -500 to 900 — not a menu index —
or 1100 when the Unofficial Patch is loaded.
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": {
"tool": "<tool>",
"layer": "<layer>"
},
"name": "set_tool_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| layer | Yes |