generate-code
Generate Vue component code from specified component name and props. Provide component and props to receive ready-to-use code, with optional script setup inclusion.
Instructions
Generate Vue component code with the specified props
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>"
},
"name": "generate-code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | No | Props to set on the component | |
| component | Yes | Component name | |
| includeScript | No | Include script setup section (default: true) |