designer.setMode
Switch between design modes for visual workflows: freehand drawing, layout structuring, HTML conversion, or interactive preview.
Instructions
Set the Designer mode.
design: Freehand drawing, sketching UI mockups
layout: Add structural containers (grids, sections)
html: Convert drawings to HTML, edit properties
preview: Interactive preview, test responsiveness
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": {
"mode": "<mode>"
},
"name": "designer.setMode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Mode to set: design, layout, html, or preview |