create_custom_widget
Create a custom widget that auto-fills the canvas width and height. Seed it with HTML, CSS, JS, and default model data; any omitted field uses the starter template.
Instructions
Create a single Custom Widget — the primary entrypoint of this MCP.
The widget is auto-sized to fill the main canvas: full width (all columns) and a
height measured from the canvas's available pixel height. Size and position are not
configurable. `html`/`css`/`js` seed its source; any omitted field falls back to
Appsmith's starter template. `default_model` seeds the data the widget reads via
`appsmith.model` (dict or JSON string). Seeded source is written to both `srcDoc` and
`uncompiledSrcDoc` so a reload can't revert it (`synced: true`).
Returns `{widgetId, widgetName, type, parent, columns, rows, measuredHeightPx, synced}`.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| js | No | ||
| css | No | ||
| html | No | ||
| name | No | ||
| default_model | No |