apply_domain_template
Generate a complete database schema from a pre-built domain template. Templates include all models, relations, indexes, and Prisma schema for common application domains.
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": {
"template": "<template>"
},
"name": "apply_domain_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Target database (default: postgresql) | |
| template | Yes | Domain template to apply | |
| customModels | No | Additional model names to include in the schema | |
| outputFormat | No | Output format (default: prisma) |