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_draft_load
Replace the draft in the widget designer with a complete definition { kind, template, descriptor, load? } — kind: a unique id that is not a built-in (card, table, tree, group); template: the widgentic template DSL (data SELECTS, you supply every literal; no expressions); descriptor: { description (required), dataSchema? | dataSchemaRef?, dataExample?, … }; load?: an http action binding run on first render. The designer validates it: applied → { ok: true, diagnostics } and the person sees it immediately; refused → { ok: false, code: 'REJECTED', errors } with the exact messages the designer shows. Keep the person's kind unless asked to change it. Nothing is saved by this tool: the person reviews the result in the designer and saves. 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/e…
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