compose_fullstack
Combine a static frontend and HTTP service backend from any generators into one fullstack repo with a deployment contract and docker-compose.
Instructions
Compose two projects — a static frontend and an HTTP service backend, from ANY generators — into one fullstack repo (apps/web + apps/server) with a fullstack deployment contract and a docker-compose. Language-neutral: e.g. a "javascript" react-app frontend + a "python" py-service (or "go" go-service) backend. By default PREVIEWS; pass write: true to scaffold under /.
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": {
"frontend": "<frontend>",
"backend": "<backend>",
"name": "<name>"
},
"name": "compose_fullstack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Repo name (folder when writing; README heading) | |
| force | No | Overwrite colliding existing files when writing | |
| write | No | Write files to disk (default false = preview only) | |
| backend | Yes | The service backend to generate: { generator, name, preset?, config? } | |
| frontend | Yes | The static frontend to generate: { generator, name, preset?, config? } | |
| directory | No | Parent directory to create <name>/ in when writing | |
| backendDir | No | Subdir for the backend (default apps/server) | |
| frontendDir | No | Subdir for the frontend (default apps/web) | |
| dockerCompose | No | Emit a root docker-compose.yml (default true) |