create_rest_api
Generate a complete REST API with Express or Fastify, including database integration, JWT authentication, and Zod validation. Define endpoints and database type.
Instructions
Generate a complete REST API with Express/Fastify, including database integration, authentication, and validation
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": {
"name": "<name>",
"endpoints": "<endpoints>"
},
"name": "create_rest_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the API | |
| database | No | Database type | |
| endpoints | Yes | ||
| validation | No | Include Zod validation | |
| authentication | No | Include JWT authentication |