describeForCode
Analyze a UI or design image and generate matching HTML/CSS/JS, React, or Vue code to turn visual mockups into functional front-end implementations.
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 |
|---|---|---|---|
| framework | No | Target framework (e.g., "React", "Vue", "HTML/CSS") | |
| imagePath | Yes | Path to the UI/design image |