OODS Foundry

v0.22.0
com.oods-foundry/foundry Checked 1 hour ago Published 1 day ago

OODS Foundry is an object-oriented design system that extends the one you already have.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

tokens_build Build Tokens

Compile registered brand tokens with the shipped compiler. Use it when you need fresh CSS and JSON; use brand_create to create a brand or brand_apply to change its source. Returns inline CSS variables, CSS and JSON plus artifact paths, hashes and sizes. apply:true builds in isolated artifact storage; omission previews the artifacts without writing. Requested brand/theme selects the inline scope; full CSS includes every registered scope. Source and shipped runtime files stay unchanged. Full schema: oods://schemas/tokens_build.input.json.

ParameterTypeDescription
applybooleanWrite on true; otherwise preview.
brandstringSelects values compiled from current source, returned inline as CSS variables, CSS and JSON and written on apply. Full CSS includes all registered scopes; TypeScript and Tailwind artifacts retain A/li…
themestringToken theme.

structured_data_fetch Fetch Structured Data

Fetch live registry datasets, archived token/export data, or captured-run artifacts. Use it when you need complete datasets; catalog_list selects components and object_registry reads definitions. Returns data with provenance, version and cache metadata. Full remains the default; detail:summary gives section counts and meta.next for inline pages; follow meta.next until absent. dataset selects registry/export mode; version pins an archived export and listVersions lists dates. kind plus runPath selects captured artifacts, while derived_analysis reads an analysis directory via runPath; version/lis…

ParameterTypeDescription
datasetstringLocal structured dataset to return (components/tokens/manifest). Mutually exclusive with kind+runPath.
detailstringDataset only. summary returns section counts and the call for page 1; full (default) preserves the dataset.
ifNoneMatchstringReturn matched=true without payload when the ETag matches.
includeInternalbooleanLive components dataset only: also list OODS Foundry's internal (non-business) objects, after the business objects. Without it they are left out and registry.hiddenInternal counts them; a dated export…
includePayloadbooleanWhen false, omit payload even if no ETag match occurs.
kindstringStage1 artifact kind, with runPath; excludes dataset. See full schema for details.
listVersionsbooleanWhen true, return available version dates instead of payload.
pageintegerDataset only: read a 1-based page of lossless JSON Pointer entries, each reply below 100,000 characters. Omit for full data.
pageSizeintegerDataset entries per page, default 10, also bounded by serialized size. Reply meta gives next and full calls.
payloadModestringUnset: inline, unless the payload exceeds 100,000 characters; then it is written to a file and warning OODS-W004 says so. inline always returns it; file always writes it and returns payloadFile.
runPathstringFilesystem path to a Stage1 run directory or its artifacts/ subdirectory. Required when kind is set.
versionstringRequest a specific date-stamped version (e.g., '2026-02-24'). Omit for latest. Applies to dataset mode only.

brand_apply Apply Brand Changes

Preview or apply changes to an existing brand's canonical token source. Use it when editing a brand; use brand_create to create one. Returns validation, changed slots, before/after hashes and build evidence. delta is required and supports aliases or add/remove/replace patches. apply defaults to a dry run that writes nothing. apply:true validates first, then writes source and rebuilds; build failure leaves source edits in place. For shipped brands in the portable runtime, apply emits a review kit and reports source/build steps as skipped. User brands rebuild in their own folder. Full schema: oo…

ParameterTypeDescription
delta *object | arrayAlias changes (object) or an array using the supported add/remove/replace subset of RFC 6902 when strategy=patch.
applybooleanWrite on true; otherwise preview.
brandstringTarget brand identifier. Must name a brand directory under packages/tokens/src/tokens/brands.
previewobjectPreview response controls (apply=false).
strategystringAlias strategy rewrites token values; patch applies the supported add/remove/replace subset of RFC 6902.

brand_create Create Brand

Create a brand or stage a local token intake draft. Use it when adding a brand; use brand_read for templates, validation, derivation and draft review, or brand_apply to edit a brand. Returns a staged draft or created brand with build results. apply needs draftId and accept:true. create accepts filled documents or a recipe, validates all themes, refuses replacement and removes a brand whose build fails. Full schema: oods://schemas/brand_create.input.json.

ParameterTypeDescription
action *stringChoose create, draft, apply.
acceptbooleanActions: apply (required).
bindingsobjectActions: draft.
brand_idstringThe id the brand will have. Actions: create (required), draft (required). See full schema for details.
documentsobjectThe filled template: one plain design-token document per theme, brand-relative (surface.canvas, not color.brand.<id>.surface.canvas), each slot {"$type": "color", "$value": "<CSS colour>"}. Actions: c…
draftIdstringActions: apply (required).
fromobjectActions: draft.
recipeobjectA brand recipe in place of documents: the brand it gives is checked, and for create written, like filled documents. Actions: create.
sourceobjectActions: draft (required).

brand_read Read Brand Data

Read brand templates, validate documents, derive recipes or inspect staged drafts. Use it when preparing a brand without saving; use brand_create to stage or create it. Returns complete template slots, validation findings, a recipe with provenance and gaps, or draft evidence. derive takes exactly one of tokens, css or absolute cssPath. Template replies use compact JSON so all themes fit inline. Full schema: oods://schemas/brand_read.input.json.

ParameterTypeDescription
action *stringChoose template, validate, derive, show.
brand_idstringThe id the brand will have. Checked when given: capitals then digits (ACME, A1) or a letter then lower-case letters and digits (Acme, acme2), at most 32 characters, and no existing brand's id in any c…
cssstringA shadcn theme CSS entry, in place of tokens. Actions: derive. See full schema for details.
cssPathstringAbsolute path to the shadcn theme CSS entry, in place of tokens or css. Read only. Actions: derive.
documentsobjectThe filled template: one plain design-token document per theme, brand-relative (surface.canvas, not color.brand.<id>.surface.canvas), each slot {"$type": "color", "$value": "<CSS colour>"}. Actions: v…
draftIdstringActions: show (required).
fromobjectWhere the starting values come from: an existing brand (default A), optionally with one of the shipped presets over it; or a recipe, which gives the complete brand, graded. Actions: template.
hintsobjectExact dot-separated token paths, or CSS custom property names, that override inference. Invalid hints produce gaps, never silent fallback. Actions: derive.
recipeobjectA brand recipe in place of documents: the brand it gives is checked, and for create written, like filled documents. Actions: validate.
tokensobjectA DTCG document with your own token names. Group $type is inherited; {group.token} aliases resolve inside the document. Actions: derive.

catalog_list List Components

List components from the live component-contract registry. Use it when selecting components; structured_data_fetch returns complete datasets. Returns component names, categories, readiness labels and availableCategories; detail controls added tags, contexts, regions, traits and evidence. includeInternal exposes hidden registry objects. Filtered calls without detail default to full pages of 10; nextPage continues. Explicit detail preserves unpaged output. Readiness evidence retains the build it measured and does not certify a new composition. Full schema: oods://schemas/catalog_list.input.json.

ParameterTypeDescription
categorystringFilter components by category (e.g., 'core', 'lifecycle', 'visual')
contextstringFilter components by context (e.g., 'detail', 'list')
detailstringDefaults to brief unfiltered, full with filters. Both defaults are paged (filtered: 10 entries). summary adds tags, contexts, regions and traits; full includes evidence. Explicit detail without paging…
includeInternalbooleanAlso list OODS Foundry's internal (non-business) objects in registry.objects, after the business objects. Without it they are left out and registry.hiddenInternal counts them.
pageinteger1-based page index for pagination.
pageSizeintegerComponents per page. Filtered calls without detail default to 10; nextPage gives the next call.
statusstringFilter by legacy static-HTML status only: 'stable' = mapped HTML renderer; 'planned' = HTML fallback. Consult productReality.surfaces for React/Vue, generated-consumer and maturity evidence.
traitstringFilter components by trait (e.g., 'Editable', 'Searchable')

code_generate Generate Code

Generate React/Vue file sets or a standalone static HTML document from a validated UiSchema. Use it when a schema already exists; use design_compose instead to choose a layout or pipeline_run to compose, validate, render and generate together. Returns versioned artifacts, exact dependencies, required domain handlers and validationReceipt. Supply schema or schemaRef before its 30-minute expiry. profile selects draft/build/release; build performs static checks, while release verifies supplied evidence without rerunning it. options.output selects component/application; options.payloadMode:file re…

ParameterTypeDescription
framework *stringTarget framework. HTML uses the same record document renderer as repl render; build checks are static and do not execute a browser.
optionsobjectOperation options.
profilestringValidation profile. See full schema for details.
releaseEvidenceobjectEvidence for release. See full schema for details.
schemaobjectA structurally valid UiSchema tree to generate code from. UiElement.state branches are checked against the canonical workflow-state vocabulary by the state-contract gate.
schemaRefstringReference to a cached UiSchema returned by design_compose.

design_compose Compose Design

Compose an object screen or workflow into a UiSchema. Use it when choosing layout and components; use pipeline_run instead for the complete generation flow or code_generate when you already have a schema. Returns schema, a 30-minute process-local schemaRef and durable compositionId/version lineage. Prefer explicit object and context over keyword-based intent. preferences controls region/field order and sample seed; compositionId appends a version, while options.transient records none. Save schemas with schema_store to reuse across sessions. Selected nodes snapshot component mappings; compositi…

ParameterTypeDescription
compositionIdstringRecord this composition as the next version of an existing composition (operation "recompose") instead of creating a new one.
contextstringView context for object-aware composition. See full schema for details.
intentstringA short intent sentence (e.g., 'dashboard with metrics and sidebar', 'user registration form'), matched against fixed keyword and phrase tables, not understood; a sentence with no layout keyword becom…
layoutstringLayout template to use. 'landing' is a content/marketing page (hero + sections + CTA), not bound to a data object. 'auto' infers the best template from intent keywords.
objectstringObject name from the OODS registry (e.g., 'Subscription', 'User'). When provided, composition uses trait-driven component placement via view_extensions.
optionsobjectOperation options.
parentVersionintegerWith compositionId: the version the new one derives from; default the latest.
preferencesobjectLayout and appearance preferences.
presentationstringNamed Stage1 inspection presentation: omit the accessibility score and prominently show measurement limits. Source records remain unchanged.

design_preview Preview Running Design

Render, compare, edit or accept a running React/Vue composition. Use it when reviewing generated behavior; use design_versions to inspect lineage without starting a host, or fidelity_preview for static drawings. Returns preview URLs, editable fields and measured or unmeasured evidence. Supply compositionId/version or object/context. Edits create versions; compare generates missing artifacts. accept records the generated version and a snapshot of its measurements as accepted, preserving prior acceptances. Full schema: oods://schemas/design_preview.input.json.

ParameterTypeDescription
actionstringChoose render, compare, edit, accept.
againstobjectaction compare: the version on the right; the left is compositionId@version.
analysisPathstringPortable Stage1 derived-analysis directory. Composes Comparison or ComparisonSignal from attested retained bytes, separate from runPath. Only read-only contexts; recordId selects an exact signal.
compositionIdstringAn existing composition from design_compose; with no version, its latest version opens.
contextstringView context for object-aware composition. See full schema for details.
contextItemsarrayDecisions and evidence about this object that you already fetched, shown beside the running preview and stored on the version. See full schema for details.
contextSearchedarrayWhat you searched that returned nothing, so an empty panel is a statement rather than a silence: the reader can tell 'nothing was found' from 'nobody asked'.
editobjectEdit one parent version: operation is reorder-region (regionOrder), swap-slot (slot, component), reorder-fields (fields), or seed (seed). Returns a new version.
frameworkstringWhich generated app to compile and serve; both frameworks by default, each at its own URL.
objectstringObject name from the OODS registry (e.g., 'Subscription', 'User'); with context, composes a new composition (version 1) and opens it.
observationRunPathstringA Stage1 run directory on this machine (out/stage1/<suite>/<run-uuid>). See full schema for details.
preferencesobjectLayout and appearance preferences.
presentationstringNamed Stage1 inspection presentation: omit the accessibility score and prominently show measurement limits. Source records remain unchanged.
recordIdstringExact record ID for a fresh runPath or analysisPath detail/card/inline view. Unknown IDs refuse before composition; existing versions retain their selected record.
runPathstringA Stage1 run directory on this machine (out/stage1/<suite>/<run-uuid>) whose real records this version shows: the run itself for Run, its findings for Finding, its attested artifacts for CapturedArtif…
versionintegerThe version of compositionId to open.

design_versions Read Design Versions

Read a composition's versions and accepted version. Use it when inspecting saved lineage; use design_preview to render, edit, compare or accept. Returns version metadata, latest and acceptance summary. Supply compositionId. Starts no preview host and returns no running URL. Full schema: oods://schemas/design_versions.input.json.

ParameterTypeDescription
compositionId *stringAn existing composition from design_compose; with no version, its latest version opens.
actionstringChoose versions.

pipeline_run Run Design Pipeline

Run composition, validation, rendering and code generation in one call. Use it when starting from an object/context or intent and needing generated output; use design_compose instead to inspect layout first or code_generate for an existing schema. Returns step results, schemaRef with expiry, versioned artifacts, dependencies and validationReceipt. options controls validation/render skipping and optional static accessibility checks; save persists the schema beyond its process-local 30-minute reference. Generation validation forwards draft/build/release without downgrade. Release verifies suppli…

ParameterTypeDescription
actionMappingsarrayaction mappings: flat, verb-keyed entries.
contextstringView context for object-aware composition.
frameworkstringTarget framework for code generation.
intentstringA short intent sentence, matched against fixed keyword and phrase tables (a sentence that matches no layout keyword becomes a low-confidence dashboard). Prefer object and context.
layoutstringLayout template. 'landing' is a content page (hero, sections, call to action) bound to no object; 'auto' picks one from the intent.
objectstringObject name from the OODS registry (e.g., Subscription, User).
optionsobjectOperation options.
preferencesobjectLayout and appearance preferences.
profilestringValidation profile passed to code_generate. build, the default, blocks on static checks; static checks do not install or run the generated app.
releaseEvidenceobjectHash-bound release evidence forwarded unchanged to code_generate.
savestring | objectOptional schema save config. String for name-only, or { name, tags } for full control. Variant fields: name, tags. Read the full schema for each variant.
stylingstringStyling strategy for code generation.

health_check Check Health

Read server readiness, live registry/store counts and retained proof summaries. Use it when checking availability and built brand/theme scopes; use object_registry for definitions or registry_snapshot for mappings. Returns status, server uptime, registry counts, token scopes and productReality evidence. status:ok means sources were readable; retained proofs identify their measured build and do not automatically certify this one. includeChangelog and sinceVersion filter the reported DSL changelog. tokens.defaultScope is configured metadata rather than an observed consumer scope; missing scope d…

ParameterTypeDescription
includeChangelogbooleanWhen true, include DSL version changelog in the response.
sinceVersionstringWhen provided with includeChangelog, only return changelog entries since this version.

registry_snapshot Snapshot Registry

Read mappings together with active traits and objects in one snapshot. Use it when reading combined registry data; object_registry reads one definition and object_register saves one. Returns mappings, traits, objects, generatedAt, ETag and registry loader issues. Defaults to a summary; detail full adds schemas. includeInternal exposes hidden objects; otherwise hiddenInternal counts omitted entries. Team definitions and shadowing are reported from live sources. This read-only call writes no snapshot file. Historical mapping fields remain stored data and do not imply current capabilities. Full s…

ParameterTypeDescription
detailstringsummary (default), or full definitions, best with names.
includeInternalbooleanAlso list OODS Foundry's internal (non-business) objects, after the business objects. Without it they are left out and registry.hiddenInternal counts them.
namesarrayExact trait and object names; misses go in notFound.

viz_render Render Chart

Render one data-bound chart from rows or a structured data operand. Use it when creating chart output; use artifact_certify instead to grade a normalized chart or dashboard_render for multiple panels and KPIs. Returns Vega-Lite or ECharts specs, chart identities and requested SVG/accessibility output. pattern uses bundled data and forbids explicit data/encoding/presentation overrides. Otherwise use chartType plus encodings, omit chartType for recommendations, or supply structured intent. ECharts-primary families require their matching hierarchy/network/geo operand. brand/theme controls pixels;…

ParameterTypeDescription
a11yEquivalencebooleanCheck Vega-Lite accessible equivalents (default true). Errors stop rendering; warnings are returned. ECharts-primary scaffolds are not checked here.
brandstringCSS token brand for chart pixels. Omission resolves light/A.
chartTypestringChart family for explicit mode. Cartesian charts need rows/datasetRef and encodings; other families need their named data input. Omit to suggest from rows.
chordobjectChord input: {nodes:[{name}],links:[{source,target,value}]}; links refer to node names; each directed pair must be unique.
datasetRefstringPreviously cached dataset id; alternative to rows.
descriptionstringOptional override for the synthesized accessibility description. When omitted, a non-empty description is generated from the encodings.
encodingsobjectCartesian bindings: each needs field; optional type, aggregate, title, format (d3-format), currency (ISO 4217).
geoobjectInline geojson or topojson plus topoObjectName, rows, join, valueField; optional point/flow coordinate fields. No network fetch. Re-register echartsSpec.__registration before rendering. Read full sche…
hierarchyobjectTreemap/sunburst: {type:"nested",data:{name,value,children}} or {type:"adjacency_list",data:[{id,parentId,value}]}. See full schema.
idstringOptional stable identifier for the produced spec.
intentobjectStructured request: goal, measures:[{name}], dimensions:[{name}], optional chartFamily and measureRef. Uses rows or datasetRef; alternative to explicit chartType/encodings.
namestringOptional human-friendly chart title.
networkobjectForce graph input: {nodes:[{id,group}],links:[{source,target,value}]}; max 250 nodes. Use chartType:"force_graph". Full contract: oods://schemas/viz_render.input.json.
opacitynumberConstant mark opacity for Cartesian charts only; omission keeps renderer defaults.
outputobjectOptions: svg, width, height, compact, echarts, includeNormalizedSpec, includeA11y, includeVegaSpec, titlePlacement (chart or figure). SVG is opt-in; compact defaults true.
patternstringExact registered pattern identity; preserves source data and presentation. Cannot combine with chartType, data, intent or identity/presentation overrides.
rowsarrayInline flat data rows. Use either rows or datasetRef.
sankeyobjectSankey input: {nodes:[{name}],links:[{source,target,value}]}; links refer to node names. Use chartType:"sankey".
strictFieldsbooleanWarn about unresolved fields and unmatched map joins (OODS-V131/V134). Default false preserves existing behavior.
themestringChart token theme. HC preserves system colors and needs a forced-colors browser to resolve them.

dashboard_render Render Dashboard

Render coordinated charts and KPIs from shared datasets and panel definitions. Use it when composing a dashboard; use viz_render instead for one chart or artifact_certify to grade each returned normalized chart. Returns layout, per-panel specs/hashes, computed KPI values, accessibility data and a reusable specRef. output.includeNormalizedSpec includes panel IR; output.html adds rendered HTML. brand/theme controls emitted pixels; selection and crossFilter apply caller-supplied filtering. resolveMeasures defaults true for governed measure references. output.contrastScan is a four-pair token pref…

ParameterTypeDescription
a11y *objectdashboard-level accessibility: a cross-panel summary + reading/focus order. The per-chart AccessibilitySpec stays per-panel; this is the dashboard envelope.
datasets *arrayShared, named tabular datasets. chart and KPI panels reference one by datasetId; panels that share a dataset can cross-filter each other.
panels *arrayHeterogeneous panels: chart (11 of the 13 viz_render chartTypes; chord and flow_map are viz_render-only — plus its data branch) or kpi tiles.
schemaVersion *stringIR version discriminant (V01 convention). A future template/shape change bumps to v0.2.
a11yEquivalencebooleanA11y equivalence certify-at-emission switch. See full schema for details.
brandstringCSS token brand for the dashboard document and chart pixels; defaults to A. The contrast scan grades the same scoped document tokens.
crossFilterobjectActive selection combination. Each active source contributes a predicate; ignoreSelfSource controls whether its own panel is filtered. Declared links do not change this behavior.
idstringStable identifier for the dashboard instance.
layoutobjectOptional layout hints consumed by the deterministic auto-layout resolver. Absent hints -> declared panel order + KPI-row-first defaults; the resolver emits abstract {x,y,w,h} (renderer-agnostic, the c…
linksarrayDeclared panel relationships, returned and shown as a labelled list in HTML. They apply no filters; cross-filtering uses selection and crossFilter.
onPanelErrorstringWhat a failed panel does: 'placeholder' (default) shows an accessible error panel in its place; 'omit' drops it from the layout.
outputobjectOptional render output controls (mirrors viz_render).
resolveMeasuresbooleanPhase-3 governed-measure resolution switch. See full schema for details.
selectionobjectOptional accumulated cross-filter SelectionState, keyed by sourceWidgetId (one active selection per source). See full schema for details.
strictDatasetsbooleanUnknown-datasetId strict switch. See full schema for details.
strictFieldsbooleanField-presence strict switch. See full schema for details.
themestringCSS token theme for chart pixels, default light. See full schema for details.
titlestringHuman-friendly dashboard title surfaced in UI + narration.
tokenCssRefstringToken strategy. See full schema for details.

artifact_certify Certify Artifact

Grade a normalized chart's accessibility equivalence, determinism, contrast and accuracy. Use it when checking the IR returned by viz_render or dashboard_render; use viz_render instead to create chart output and dashboard_render to compose panels. Returns coverage, conformant, findings and four pillar verdicts. Pass spec alone for Cartesian charts; ECharts-primary charts need the same matching data branch used for rendering. Spec-only ECharts remains uncertified. brand/theme must match rendering; high contrast reports forced-colors exemption without a numeric contrast grade. A certified chart…

ParameterTypeDescription
spec *objectAn OODS Foundry normalized chart spec: the normalizedSpec that viz_render returns. The handler validates it against the full spec schema.
brandstringCSS brand scope, matching viz_render for the same normalized spec and data operand.
dataobjectOptional operand for the 8 ECharts-primary types (treemap/sunburst/sankey/force_graph/choropleth/bubble_map/flow_map/chord): the same data branch viz_render takes, so certify re-emits the option the r…
themestringCSS token theme for chart pixels, default light. See full schema for details.

fidelity_preview Preview Fidelity

Draw object relationships or compositions at four fidelity levels. 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 brand…

ParameterTypeDescription
fidelityKind *stringWhich HTML fidelity emitter to invoke.
contextstringContext to compose for a single object in wireframe, review or branded-mockup.
fixturestringNamed allow-listed Object Catalog fixture shipped in registry data; unknown names return OODS-FP-001.
manifestobjectInline Object Catalog manifest to render — an alternative to `fixture`. See full schema for details.
objectstringRegistered object. boxes-arrows draws its declared relationships; other views compose it in context.
objectsarrayExplicit object set; draw only declared edges within this set. boxes-arrows only.
optionsobjectOperation options.
schemaobjectInline composed screen tree; validated as UiSchema.
schemaRefstringCached UiSchema from design_compose or schema load; missing/expired refs return a typed error.

component_map Write Component Mappings

Write component substitutions or stage an intake draft. Use it when connecting React/Vue exports, shadcn source or built Storybook files; use component_map_read to list, resolve or review drafts. Returns staged evidence or write outcomes. apply with draftId requires accepted ids and writes adapters and mappings atomically. create takes one entry, mappings or mappingsPath; create and report-based apply preview unless apply:true. update and delete always write. Full schema: oods://schemas/component_map.input.json.

ParameterTypeDescription
action *stringChoose apply, create, update, delete, draft.
acceptarrayActions: apply (required).
applybooleanFor apply: When true, persist registry mutations. Defaults to dry-run. For create: When true, write changes to disk. Actions: apply, create.
capabilitiesarrayCapability definitions to append. Actions: create.
confidencestring'auto' for machine-generated, 'manual' for human-curated. Actions: create.
disambiguation_decisionsarrayReview decisions to append; does not gate creation. Actions: create.
draftIdstringActions: apply (required).
externalComponentstringExternal component name. Actions: create.
externalSystemstringExternal design system name (for example, 'team'). Actions: create, draft.
idstringMapping ID. Actions: update (required), delete (required).
mappingsarrayCreate entries, each without apply. All entries are checked before one atomic write. Actions: create.
mappingsPathstringAbsolute path to a JSON document { mappings: [...] }, using the same entry shape. Actions: create.
metadataobjectMapping metadata. Actions: create.
minConfidencenumberMinimum confidence to apply; lower candidates are queued. Actions: apply.
oodsTraitsarrayOODS trait names this component maps to. Actions: create.
preferred_termsarrayCanonical terms to append. Actions: create.
projection_variantsarrayCross-surface mapping variants to append. Actions: create.
propMappingsarrayProperty translations from external to OODS prop names. Actions: create.
reportobjectReconciliation report. Actions: apply.
reportPathstringFilesystem path to a reconciliation_report.json artifact. Actions: apply.
sourceobjectActions: draft (required).
substitutionobjectComponent substitution with React/Vue exports and prop translations. Actions: create.
updatesobjectFields to change: oodsTraits, confidence, propMappings, metadata, substitution. Omitted fields stay unchanged. Actions: update (required).

component_map_read Read Component Mappings

Read component substitutions and staged intake evidence. Use it when listing mappings, resolving an external component or reviewing a draftId; use component_map to stage or apply changes. Returns entries, matches or draft evidence including proposed adapters and unmatched elements. Reads local stores without generating adapters or changing project files. Full schema: oods://schemas/component_map_read.input.json.

ParameterTypeDescription
action *stringChoose list, resolve, show.
cursorstringPagination cursor. Use the previous page's nextCursor to continue. When cursor or limit is provided, pagination defaults to 100 items per page. Actions: list.
draftIdstringActions: show (required).
externalComponentstringComponent name in the external system (e.g., 'Button'). Actions: resolve (required).
externalSystemstringFor list: Filter mappings to a specific external system (e.g., 'team'). For resolve: External design system name (e.g., 'team'). Actions: list, resolve (required).
limitintegerPage size for pagination. Omitting both cursor and limit preserves the legacy full-list response. Actions: list.

schema_store Save Or Delete Schemas

Save or delete a named composition schema. Use it when retaining a UiSchema across sessions; use schema_read to list or load saved schemas. Returns the saved metadata or deletion result. save takes schemaRef, overwrites that name and increments its version; only the latest is loadable. Both actions write immediately. Full schema: oods://schemas/schema_store.input.json.

ParameterTypeDescription
action *stringChoose save, delete.
authorstringOptional author metadata. Actions: save.
namestringSaved schema name in slug format (letters, numbers, hyphens, underscores). Actions: save (required), delete (required).
schemaRefstringReference to an in-memory schema produced by design_compose. Actions: save (required).
tagsarrayOptional tags for filtering and discovery. Actions: save.

schema_read Read Saved Schemas

Read saved composition schemas. Use it when listing saved work or loading a named schema; use schema_store to save or delete one. Returns metadata or the schema with a new process-local schemaRef, valid for 30 minutes. Tool input schemas are separate MCP resources. Full schema: oods://schemas/schema_read.input.json.

ParameterTypeDescription
action *stringChoose list, load.
contextstringRendering-context filter. Actions: list.
namestringSaved schema name in slug format. Actions: load (required).
objectstringObject filter. Actions: list.
tagsarrayActions: list.

object_registry Read Object Registry

Read object and trait definitions or validate YAML without saving. Use it when exploring shapes or checking a definition; use object_register to save one or object_import to draft from a schema file. Returns definitions, composed traits, validation findings or cache reload status. includeInternal reveals hidden objects; reload clears only process caches. Full schema: oods://schemas/object_registry.input.json.

ParameterTypeDescription
action *stringChoose list, show, validate, reload.
contextstringOptional: filter view_extensions to a single context (e.g. 'detail', 'list', 'form', 'timeline', 'card', 'inline'). Actions: show.
domainstringFilter to objects in a specific domain (e.g. 'core.identity', 'saas.billing'). Actions: list.
includeInternalbooleanAlso list OODS Foundry's internal (non-business) objects, after the business objects. Without it they are left out and hiddenInternal counts them. Actions: list.
maturitystringFilter by metadata maturity level. Actions: list.
namestringObject name to look up (e.g. 'User', 'Product', 'Invoice'). Actions: show (required).
traitstringFilter to objects composing a given trait (e.g. 'Priceable', 'lifecycle/Stateful'). Actions: list.
yamlstringThe whole definition as YAML: an object file starts with "object:", a trait file with "trait:" (the same format as OODS Foundry's own objects/ and traits/). Actions: validate (required). See full sche…

object_register Register Object Or Trait

Register an object or trait from reviewed YAML. Use it when saving a definition; use object_registry to list, inspect or validate without writing. Returns the saved definition and registry result. overwrite replaces your own definition. Team objects may shadow shipped objects; traits cannot reuse shipped names. Relationships must name valid targets and fields. Full schema: oods://schemas/object_register.input.json.

ParameterTypeDescription
action *stringChoose register.
overwritebooleanReplace a definition of yours with this name; without it a name you already registered is refused (OODS-C004). Actions: register.
yamlstringThe whole definition as YAML: an object file starts with "object:", a trait file with "trait:" (the same format as OODS Foundry's own objects/ and traits/). Actions: register (required). See full sche…

schema_render Render Or Validate Schema

Validate a UiSchema or render static HTML and fragments. 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.

ParameterTypeDescription
action *stringSelects the per-action handler. 'render' -> schema_render action=render, 'validate' -> schema_render action=validate.
applybooleanFor 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.
baseTreeobjectRequired when mode='patch' to provide the base UiSchema to patch. Actions: render, validate.
brandstringBrand to render. Actions: render. See full schema for details.
modestringFull schema or patch mode. Actions: render, validate.
optionsobjectOperation options. Actions: render, validate.
outputobjectOptional render output controls. Omitting this object preserves full-document behavior. Actions: render.
patcharray | objectRequired when mode='patch'. Accepts JSON Patch array or node patch object(s). Actions: render, validate.
schemaobjectUiSchema. Actions: render, validate.
schemaRefstringReference to a cached UiSchema returned by design_compose. Actions: render, validate.

object_import Import Objects

Draft objects from local OpenAPI, JSON Schema, Postgres SQL, Prisma, dbt, OData or GraphQL files, then apply accepted proposals. Use it when importing a schema; use object_import_read to review a staged object. Returns importId, staged files, proposal counts and re-import differences, or batch registration results. draft takes source.path or source.content; apply requires explicit objects and proposal ids. overwrite replaces team objects; confirmShipped names approved shipped replacements. No network fetch or code execution. Full schema: oods://schemas/object_import.input.json.

ParameterTypeDescription
action *stringChoose draft, apply.
confirmShippedarrayEach shipped object name whose replacement is explicitly confirmed.
importIdstringContent-addressed import id from draft. Required by show and apply.
objectsarrayExplicit accepted object names and optional proposal ids for apply.
overwritebooleanAllow replacing existing team objects.
sourceobjectLocal file/folder or inline schema. Used only by draft.

object_import_read Read Import Draft

Read one staged object import. Use it when reviewing YAML, graded proposals and unmapped elements before acceptance; use object_import to draft or apply. Returns the named object, proposals and differences from its registered definition. Supply importId and the exact object name. Reading never rewrites the staged report. Full schema: oods://schemas/object_import_read.input.json.

ParameterTypeDescription
action *stringChoose show.
importIdstringContent-addressed import id from draft. Required by show and apply.
objectstringExact draft object name for show.