API & MCP
Everything a person can do on Voxel Height Grid Builder, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://renderloomvoxelheightgrid.usefulweb.site/api/v1/calculate– run Voxel Height Grid BuilderGET https://renderloomvoxelheightgrid.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Voxel Height Grid Builder
Turn a rectangular grid of integer heights into a colored voxel model. Download a transparent isometric SVG, an OBJ/MTL mesh, a single-model VOX file, and an editable project for Renderloom Voxel Desk.
| Field | Type | Default | Description |
|---|---|---|---|
grid | textarea | "0, 1, 2, 1, 0\n1, 2, 3, 2, 1\n2, 3, 4, 3, 2\n1, 2, 3, 2, 1\n0, 1, 2, 1, 0" | Height grid (0–64; one row per line) |
base | text | "#8b5e3c" | Base color (#rrggbb) |
top | text | "#7ba85c" | Top color (#rrggbb) |
Example request
A small stepped hill
curl -X POST https://renderloomvoxelheightgrid.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://renderloomvoxelheightgrid.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
renderloom_voxel_height_grid - Local stdio connector:
node src/mcp-stdio.ts --tool=renderloom-voxel-height-grid
{
"mcpServers": {
"renderloom-voxel-height-grid": { "type": "http", "url": "https://renderloomvoxelheightgrid.usefulweb.site/mcp" }
}
}