producer_export_code
Export a component AST to idiomatic React, Svelte, Vue, or standalone web component code. Pick the target framework to generate production-ready, accessible code.
Instructions
Exports a component to idiomatic React + Tailwind, Svelte 5 (Runes), Vue 3, or standalone Custom Web Element.
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": {
"component": "<component>",
"target": "<target>"
},
"name": "producer_export_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Export framework | |
| component | Yes | The component AST |