Confirm app framework
setFrameworkConfirm the app type (framework preset) Tofu detected, before the first deploy — and before the app’s database is connected, since the browser-facing key names come from the preset recorded then. static is an already-built site (root index.html, no build step); a server preset (fastapi, flask, django, python, go, express, hono, nestjs, node) runs the app as an HTTP process that listens on PORT and answers /; container builds the app’s own container file at its root — selecting container for a bare root Dockerfile makes that image the deployment source. A preset the upload does not fit is refused with the rule and the fix.
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": {
"projectId": "<projectId>",
"framework": "<framework>"
},
"name": "setFramework"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| framework | Yes | ||
| projectId | Yes |