generate_container_app
Generate Azure Container Apps environment + Container App Bicep template (recommended for stateless workloads, BEAM releases)
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>",
"location": "<location>",
"image": "<image>",
"targetPort": "<targetPort>"
},
"name": "generate_container_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | No | CPU cores (0.25, 0.5, 1.0, 2.0) | |
| name | Yes | Container App name | |
| image | Yes | Container image (e.g. registry.azurecr.io/app:v1) | |
| memory | No | Memory (0.5Gi, 1Gi, 2Gi, 4Gi) | |
| location | Yes | Azure region | |
| healthPath | No | HTTP path for liveness and readiness probes (default /health) | |
| targetPort | Yes | Container port (e.g. 4000) | |
| maxReplicas | No | Maximum replicas | |
| minReplicas | No | Minimum replicas (0 for scale-to-zero) | |
| allowedOrigins | No | Browser origins allowed by CORS (e.g. https://app.example.com). Omitted → no CORS policy (same-origin only); '*' is never emitted |