demo.widgentic.dev
widgentic
First seen 2026-11-05 · Last seen 2026-11-05 · Source: webmcp.com
Answer 5 · Act 9 · Transact 0 · Score: Not yet scored
Tool inspector
widgentic_widget_definition_check
Validate a widget definition WITHOUT touching the designer: { definition: { kind, template, descriptor, load? } }. Returns exactly what the load tool would — { ok: true, diagnostics } (previewable, example-vs-schema verdict, style entries the renderer would drop) or { ok: false, code: 'REJECTED', errors } with the designer's messages. Iterate here until it is clean, then load it into the designer. TEMPLATE DSL (data, not code): nodes are a STRING, { bind } (text of a dot path; '.' = the scope; $root.x, $parent.x, $index, $meta.x), { each: "path", template, empty? }, { when: "path", template, else? }, or { tag, attrs?, children? }. Value transforms, ONE per value and always with bind: map { " ": " ", default? } (the value SELECTS a literal you wrote — semantic classes, status wording), prefix "mailto:" (attribute values only), format { type: number|currency|date|count|join|truncate|pluralize, decimals?, locale?, currency?, currencyDisplay?, pattern?, separator?, last?, field?, length?, ellipsis?, forms? } (render-time presentation, payload keeps the typed value; count/join/truncate/pluralize present lists and text, e.g. pluralize forms { one: "{count} item", other: "{count} items" }). A text bind may instead carry markdown: true (paragraphs, lists, emphasis, code, links — the parser chooses the tags, raw HTML stays text; never with map or format). Forbidden: script/iframe/object/embed/style/link/meta/base/template/noscript tags, on*/srcdoc attributes, non-https URLs (mailto:/tel: allowed on href), expressions of any kind. descriptor.description is REQUIRED; give dataShape and dataExample; dataSchema (type/properties/required/items/enum/pattern) makes bad data fail with a path instead of rendering blank. styles: { ".wg- ": { "css-property": "value" } } — .wg- selectors only, var(--wg- ) for colours and spacing. kind/name: ^[a-zA-Z0-9._-]+$, not a built-in kind. Call widgentic_authoring_guide for the full contract and widgentic_widget_definition_check to validate befo…
Input schema
| Property | Type | Required | Description |
|---|---|---|---|
definition |
object | yes | The widget definition in export shape. |
Raw JSON schema
{
"type": "object",
"properties": {
"definition": {
"type": "object",
"description": "The widget definition in export shape."
}
},
"required": [
"definition"
],
"additionalProperties": false
}
Similar websites
morphus.myles4miles.chatgpt.site
Morphus is an AI-native workspace for designing worlds and generating playable game experiences.
damnpdfs.com
Install the DamnPDFs Codex plugin, pair a browser workspace and use PDF, image and file tools from your coding agent. Includes setup and privacy limits.
insignifi4nt.github.io
broCAD/M: local-first CAD and CAM for parametric design, wire EDM planning, simulation and controller export.
cabinet.varera.studio
The Cartographer's Cabinet