Recreate Design
recreateConvert design images or analyze_design JSON specs into production-quality HTML, React, or Tailwind code, with responsive layouts and accessibility fixes.
Instructions
Recreate a design as production-quality code. Provide an image (path or URL), a JSON spec from analyze_design, or both. Returns code only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "recreate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | JSON spec returned by analyze_design | |
| image | No | Local file path or http(s) URL of the design image | |
| format | No | Output code format | html |
| responsive | No | Make the result mobile, tablet and desktop friendly | |
| fix_accessibility | No | Fix contrast, tap-target and semantic issues |