generate_vue_component
Generate a Vue 3 component using Composition API with TypeScript, defineProps, emits, and slots
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": {
"componentName": "<componentName>"
},
"name": "generate_vue_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emits | No | Comma-separated event names to emit | |
| props | No | Comma-separated prop names | |
| styling | No | Styling approach | |
| withSlots | No | Include named slots | |
| scriptSetup | No | Use <script setup> syntax (default: true) | |
| componentName | Yes | PascalCase component name | |
| withComposable | No | Extract logic into a composable |