Use it when reviewing static structure or appearance; use design_preview instead to run generated React/Vue behavior. Returns SVG or HTML with fidelity-specific structure and provenance. fidelityKind selects boxes-arrows, wireframe, review or branded-mockup. Supply exactly one object, objects set, schema/schemaRef, fixture or legacy manifest; object/context composes a screen. Object diagrams show declared relationships; schema diagrams show containment. Wireframe/review show component bindings and recorded confidence, and branded mockups use static sample data. options.brandOverlay/theme selects built tokens. These drawings do not certify usability or referential integrity. Full schema: oods://schemas/fidelity_preview.input.json.

Inputs

Name Type Required Description
fidelityKind "boxes-arrows" | "wireframe" | "review" | "branded-mockup" yes Which HTML fidelity emitter to invoke.
fixture string no Named allow-listed Object Catalog fixture shipped in registry data; unknown names return OODS-FP-001.
manifest object no Inline Object Catalog manifest to render — an alternative to `fixture`. See full schema for details.
options object no Operation options.
object string no Registered object. boxes-arrows draws its declared relationships; other views compose it in context.
objects string[] no Explicit object set; draw only declared edges within this set. boxes-arrows only.
schema object no Inline composed screen tree; validated as UiSchema.
schemaRef string no Cached UiSchema from design_compose or schema load; missing/expired refs return a typed error.
context "list" | "detail" | "form" | "timeline" | "card" | "inline" | "workflow" | "dashboard" no Context to compose for a single object in wireframe, review or branded-mockup.

Outputs

Name Type Required Description
status "ok" | "warning" | "error" yes ok = clean run; warning = non-fatal issues but html is valid; error = errors[] populated and html may be empty/partial.
fidelityKind "boxes-arrows" | "wireframe" | "review" | "branded-mockup" yes
fixture string yes
html string yes Complete HTML output ready to insert into a preview surface (may include a <style> block when includeStyles is true).
warnings object[] yes
errors object[] yes
meta object yes
svg string no Accessible standalone SVG for object relationships or component containment.

A real call

Recorded by this site's screens run, step Agent-relationships, with the published OODS Foundry 0.19.0.

Its input:

{
  "fidelityKind": "boxes-arrows",
  "object": "Agent",
  "options": {
    "depth": 1,
    "theme": "light"
  }
}

Its result:

{
  "status": "ok",
  "fidelityKind": "boxes-arrows",
  "fixture": "(object:Agent)",
  "html": "<!doctype html><html lang=\"en\" data-brand=\"A\" data-theme=\"light\"><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>Relationships: Agent</title><style>body{margin:0;padding:24px;font-family:system-ui,sans-serif;background:rgb(255, 255, 255);color:rgb(10, 10, 10);}h1{font-size:24px;margin:0 0 8px}p{max-width:80ch}.diagram{max-width:100%;overflow:auto;border:1px solid rgb(212, 212, 212);border-radius:12px}.diagram:focus-visible{outline:3px solid rgb(58, 91, 199)}svg{display:block}</style></head><body><h1>Relationships: Agent</h1><p>Declared object associations · 0 edges · * required field. These are object types, not joined records. <span data-diagram-overflow hidden>Scroll the diagram to inspect it.</span></p><div class=\"diagram\" role=\"region\" aria-label=\"Relationship diagram\" tabindex=\"0\"><svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" aria-labelledby=\"relationships-4e5f55e72b84-title relationships-4e5f55e72b84-desc\" viewBox=\"0 0 404 303\" width=\"404\" height=\"303\" style=\"font-family:system-ui,sans-serif;background:rgb(255, 255, 255);forced-color-adjust:none\"><title id=\"relationships-4e5f55e72b84-title\">Relationships: Agent</title><desc id=\"relationships-4e5f55e72b84-desc\">1 object type and 0 declared associations. Arrows point from source to target. Labels state source-relative cardinality and the via field; they do not assert live referential integrity. </desc><defs><marker id=\"relationships-4e5f55e72b84-arrow\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 5 L 0 10 z\" fill=\"rgb(58, 91, 199)\"/></marker></defs><g data-object=\"Agent\" transform=\"translate(32 32)\"><title>An AI agent that acts inside a product, for the people and organizations it is granted to act for.</title><rect width=\"340\" height=\"239\" rx=\"10\" fill=\"rgb(255, 255, 255)\" stroke=\"rgb(212, 212, 212)\" stroke-width=\"2\"/><text x=\"18\" y=\"30\" fill=\"rgb(10, 10, 10)\" font-size=\"18\"><tspan x=\"18\" dy=\"0\">Agent</tspan></text><path d=\"M 18 43 H 322\" stroke=\"rgb(212, 212, 212)\"/><text x=\"18\" y=\"65\" fill=\"rgb(10, 10, 10)\" font-size=\"13\"><tspan x=\"18\" dy=\"0\">Traits: Actor, Stateful, Ownerable,</tspan><tspan x=\"18\" dy=\"19\">Authable, Timestampable</tspan><tspan x=\"18\" dy=\"19\">Key fields (6 of 27)</tspan><tspan x=\"18\" dy=\"19\">agent_id: uuid *</tspan><tspan x=\"18\" dy=\"19\">name: string *</tspan><tspan x=\"18\" dy=\"19\">acts_for: string *</tspan><tspan x=\"18\" dy=\"19\">allowed_actions: string *</tspan><tspan x=\"18\" dy=\"19\">asks_first_for: string *</tspan><tspan x=\"18\" dy=\"19\">never_allowed: string *</tspan></text></g></svg></div><script>(()=>{const region=document.querySelector('.diagram'),notice=document.querySelector('[data-diagram-overflow]');if(!region||!notice)return;const update=()=>{notice.hidden=region.scrollWidth<=region.clientWidth;};update();new ResizeObserver(update).observe(region);})();</script></body></html>",
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" aria-labelledby=\"relationships-4e5f55e72b84-title relationships-4e5f55e72b84-desc\" viewBox=\"0 0 404 303\" width=\"404\" height=\"303\" style=\"font-family:system-ui,sans-serif;background:rgb(255, 255, 255);forced-color-adjust:none\"><title id=\"relationships-4e5f55e72b84-title\">Relationships: Agent</title><desc id=\"relationships-4e5f55e72b84-desc\">1 object type and 0 declared associations. Arrows point from source to target. Labels state source-relative cardinality and the via field; they do not assert live referential integrity. </desc><defs><marker id=\"relationships-4e5f55e72b84-arrow\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\" markerWidth=\"7\" markerHeight=\"7\" orient=\"auto-start-reverse\"><path d=\"M 0 0 L 10 5 L 0 10 z\" fill=\"rgb(58, 91, 199)\"/></marker></defs><g data-object=\"Agent\" transform=\"translate(32 32)\"><title>An AI agent that acts inside a product, for the people and organizations it is granted to act for.</title><rect width=\"340\" height=\"239\" rx=\"10\" fill=\"rgb(255, 255, 255)\" stroke=\"rgb(212, 212, 212)\" stroke-width=\"2\"/><text x=\"18\" y=\"30\" fill=\"rgb(10, 10, 10)\" font-size=\"18\"><tspan x=\"18\" dy=\"0\">Agent</tspan></text><path d=\"M 18 43 H 322\" stroke=\"rgb(212, 212, 212)\"/><text x=\"18\" y=\"65\" fill=\"rgb(10, 10, 10)\" font-size=\"13\"><tspan x=\"18\" dy=\"0\">Traits: Actor, Stateful, Ownerable,</tspan><tspan x=\"18\" dy=\"19\">Authable, Timestampable</tspan><tspan x=\"18\" dy=\"19\">Key fields (6 of 27)</tspan><tspan x=\"18\" dy=\"19\">agent_id: uuid *</tspan><tspan x=\"18\" dy=\"19\">name: string *</tspan><tspan x=\"18\" dy=\"19\">acts_for: string *</tspan><tspan x=\"18\" dy=\"19\">allowed_actions: string *</tspan><tspan x=\"18\" dy=\"19\">asks_first_for: string *</tspan><tspan x=\"18\" dy=\"19\">never_allowed: string *</tspan></text></g></svg>",
  "meta": {
    "entityCount": 1,
    "edgeCount": 0,
    "appliedBrandOverlay": "A",
    "theme": "light",
    "width": 404,
    "height": 303
  },
  "warnings": [],
  "errors": []
}

The whole call, 5 KB of JSON