Design Publish
design_publishPublish a design — a banner set, a page layout (product page, cart, checkout, category, homepage), an e-mail, a component or a feature in HTML, CSS and JS — and get its link (https://ecomdly.com/designs/) to give the owner. Pass design (hash or URL) to publish a new version of an existing one; the link stays the same and earlier versions stay viewable. The page runs in a sandbox: scripts work, but it cannot reach ecomdly, cookies or the owner's data. Up to 2 MB; anyone with the link can open it, so never put real customer data or secrets in it. Publish only what the owner asked for or agreed to — otherwise offer it first. Follow the ecomdly-designs skill.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"html": "<html>"
},
"name": "design_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| js | No | Optional JavaScript, added at the end of the body. | |
| css | No | Optional CSS, added to the page. | |
| html | Yes | The HTML: a full document (<!doctype html>…) or a body fragment. External CSS/JS/fonts over https work. | |
| note | No | What changed in this version, one sentence. | |
| title | No | A short name, e.g. "Product page — new layout". Required for a new design. | |
| design | No | Hash or URL of a design to publish a new version of. |