describeForCode
Convert UI design images into functional code for frameworks like React, Vue, or HTML/CSS by analyzing visual layouts and generating corresponding implementation.
Instructions
Analyze a UI/design image and generate corresponding code (HTML/CSS/JS, Vue, React, etc.).
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": {
"imagePath": "<imagePath>"
},
"name": "describeForCode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imagePath | Yes | Path to the UI/design image | |
| framework | No | Target framework (e.g., "React", "Vue", "HTML/CSS") |