generate_backend_module
Generate a backend module with routes, services, repository, types, and middleware using clean architecture patterns. Specify module name, CRUD operations, and target framework.
Instructions
Generate a complete backend feature module with routes, service layer, repository, types, and middleware following clean architecture patterns.
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": {
"module_name": "<module_name>",
"operations": "<operations>"
},
"name": "generate_backend_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module_name | Yes | Name of the module (e.g., users, billing) | |
| operations | Yes | CRUD operations: list, create, update, delete, get | |
| framework | No | Target framework | nextjs |
| patterns | No | Architecture patterns: clean-architecture, repository, service-layer | |
| middleware | No | Middleware: auth, validation, rate-limiting, caching |