DOCS // SPATIAL.COMPILER

MCP tools

The MCP server exposes compile_3d_asset for meshes, and bake, check, schema, sweep and wire for the pyro module. Each pyro tool returns the same JSON report as the matching spatial-compiler command.

Tools

compile_3d_asset Geometry & Materials
Welds non-manifold edges, decimates to exact triangle budgets via meshoptimizer, packs non-overlapping xatlas UV atlases, and bakes channel-packed ORM textures in a single VRAM pass. See the operations reference.
bake, check, schema, sweep, wire pyro
One typed tool per command of the spatial-compiler program, covered in Bake and wire. Each returns the same JSON report as the command.

Arguments

ToolArguments
compile_3d_assetfile (required), target_tris, dry_run
bakespec, out (required), quality (draft or final), seed, set
checkspec (required), set
schemanone
sweepspec, set, out (required)
wirebake_dir, scene (required), set

set takes overrides as section.key=value, one per item. The MCP server card carries the full input schemas.

What a call costs

Each call is charged in US dollars to your account balance, and its telemetry reports cost_usd_est. A dry_run: true call costs $0. See Billing and Telemetry fields.