UI to Artifact
ui_to_artifactConvert a UI screenshot into code guidance, a design spec, a recreation prompt, or a description. Provide a prompt to customize the output.
Instructions
Convert a UI screenshot into code guidance, a recreation prompt, a design spec, or a description.
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": {
"image_source": "<image_source>",
"output_type": "<output_type>",
"prompt": "<prompt>"
},
"name": "ui_to_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| output_type | Yes | ||
| image_source | Yes |