generate
Generate boilerplate code for components, hooks, services, tests, API routes, models, and utilities. Specify type, name, and options like framework or TypeScript.
Instructions
Generate boilerplate code from templates. Create components, hooks, services, tests, API routes, models, and utilities with best practices built in.
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": {
"type": "<type>",
"name": "<name>"
},
"name": "generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the generated code (e.g., UserCard, useAuth, ApiService) | |
| type | Yes | Type of code to generate | |
| options | No | Generation options |