create-walls
Add wall segments to a Foundry VTT scene to block movement, sight, light, or sound, and insert doors or secret doors. Specify coordinates and wall properties; errors are isolated per wall.
Instructions
Create one or more WALL segments on a scene — surgical additions (block a corridor, add a door/secret door) to walls normally drawn in the app or shipped by a map pack. Each wall is a segment x0,y0→x1,y1 (or c:[4]) in absolute canvas pixels. Channels: move (0/20), light/sight/sound (0 none / 10 limited / 20 normal / 30 proximity / 40 distance — omitted channels default to 20 blocking), dir (one-way), door (1 door / 2 secret) + ds (state) + doorSound, and proximity thresholds. Per-wall error isolation. Returns created ids. GM-only.
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": {
"sceneIdentifier": "<sceneIdentifier>",
"walls": "<walls>"
},
"name": "create-walls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walls | Yes | One or more wall segments to create (omitted channels default to blocking). | |
| sceneIdentifier | Yes | Scene id or exact name holding the placeables. |