instantiate_app_template
Create a new app from the template. Returns the new app_id + declared_services list. Caller chains add_app_database / add_app_bucket / enable_app_auth for any declared services, then deploy_app(app_id) to bake a fresh variant and bring the app live.
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_id": "<template_id>"
},
"name": "instantiate_app_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Non-secret env values from the form (e.g. NEXT_PUBLIC_APP_NAME='My App'). Keys must be in the template's env spec. Secrets are NOT seeded here — use set_app_env(secret_key, value) after for those. | |
| name | No | Display name; derived from template if omitted. | |
| api_key | No | MCP API key | |
| template_id | Yes | Template ID from list_app_templates. | |
| session_token | No | Session token |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||