ui_to_artifact
Convert UI screenshots into production-ready code, image-generation prompts, technical specifications, or detailed descriptions.
Instructions
Convert UI screenshots into structured deliverables: production-ready code, image-generation prompts, technical specifications, or detailed descriptions.
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": {
"imageUrl": "<imageUrl>"
},
"name": "ui_to_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageUrl | Yes | Image source: a data URI (data:image/...;base64,...), an http(s) URL, or a local file path | |
| outputType | No | Output type: 'code' (HTML/CSS/React), 'prompt' (AI image gen prompt), 'spec' (technical spec), 'description' (detailed description) | code |