Use it when checking schema or patch contracts; use design_preview for a running app or schema_store to save. Returns diagnostics or rendered output. action selects validate/render; mode selects full/patch. apply:true enables rendering, without saving a schema. Render includes token CSS unless output.compact; oversized output or output.payloadMode:file writes only reply payloads. brand and scope options affect documents; ignored fragment options are diagnosed. Full schema: oods://schemas/schema_render.input.json.

Inputs

Name Type Required Description
action "render" | "validate" yes Selects the per-action handler. 'render' -> schema_render action=render, 'validate' -> schema_render action=validate.
mode "full" | "patch" no Full schema or patch mode. Actions: render, validate.
schema object no UiSchema. Actions: render, validate.
schemaRef string no Reference to a cached UiSchema returned by design_compose. Actions: render, validate.
patch array | object no Required when mode='patch'. Accepts JSON Patch array or node patch object(s). Actions: render, validate.
baseTree object no Required when mode='patch' to provide the base UiSchema to patch. Actions: render, validate.
brand string no Brand to render. Actions: render. See full schema for details.
options object no Operation options. Actions: render, validate.
output object no Optional render output controls. Omitting this object preserves full-document behavior. Actions: render.
apply boolean no For render: When true and the schema validates, render it: the HTML document in html, or per-node fragments with output.format 'fragments'. Actions: render, validate. See full schema for details.

Outputs

The package ships no output schema for this tool.

A real call

Recorded by this site's tools run, step schema-render-validate, with the published OODS Foundry 0.19.0.

Its input:

{
  "action": "validate",
  "schemaRef": "compose-4d4a6bc0"
}

Its result, first lines:

{
  "status": "ok",
  "mode": "full",
  "dslVersion": "2026.02",
  "registryVersion": "2026-11-23",
  "errors": [],
  "warnings": [],
  "normalizedTree": {
    "version": "2026.02",
    "screens": [
      {
        "id": "screen-detail-13",
        "component": "Stack",
        "layout": {
          "type": "stack",
          "gapToken": "cluster-default"
        },
        "children": [
          {
            "id": "detail-header-1",
            "component": "Stack",
            "layout": {
              "type": "stack",
              "align": "space-between",
              "gapToken": "stack-default"
            },
            "children": [
              {
                "id": "detail-header-1-record-title",
                "component": "DetailHeader",
                "props": {
                  "titleField": "name",
                  "headingLevel": 1
                }
              },
              {
                "id": "screen-detail-13-record-summary",
                "component": "Stack",
                "layout": {
                  "type": "inline",
                  "gapToken": "cluster-tight"
                },
                "meta": {
                  "intent": "record-summary"
                },
                "children": [
                  {
                    "id": "screen-detail-13-record-summary-1",
                    "component": "StatusBadge",
                    "props": {
                      "tone": "lifecycle",
                      "statusField": "status",
                      "domain": "lifecycle"
                    }
                  }
                ]
              },
              {
                "id": "slot-header-2",
                "component": "Stack",

The whole call, 47 KB of JSON