create-tiles
Add props, roofs, and overlays to Foundry VTT scenes from image paths, with control over size, rotation, alpha, elevation, and occlusion.
Instructions
Place one or more TILES (props, roof/overhead pieces, decals, video overlays) on a scene from Data-relative image paths. A tile's on-map SIZE is width/height in canvas pixels; x/y are the absolute-canvas-pixel TOP-LEFT (see get-scene-dimensions for padding-aware cell→px math; the tool converts to v14's center-anchored doc coords — never pre-add width/2 yourself). Optionally set rotation, alpha, elevation, sort, texture tint/fit/scale, roof occlusion (occlusionMode: 1 fade / 4 radial so it fades when a token walks under), light/weather restrictions, video loop/autoplay/volume, hidden, locked. Per-tile error isolation; a 404 texture keeps the path but warns. 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>",
"tiles": "<tiles>"
},
"name": "create-tiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tiles | Yes | One or more tiles (props/roofs/overlays) to place on the scene. | |
| sceneIdentifier | Yes | Scene id or exact name holding the placeables. |