Update app
update_appChange an app's deployment settings—source, branch, instance type, replicas/autoscaling, port, health check, build/start/install commands, and storage—while leaving unspecified fields unchanged.
Instructions
Changes an app's settings (source, branch, instance type, replicas/autoscaling, port, health check, build commands, storage). Only the given settings change. Changing the source or build settings triggers a rebuild. For variables and secrets use set_app_variables.
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": {
"app": "<app>"
},
"name": "update_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App (deployment) name or ID. | |
| dir | No | Sub-folder of the repository to build. | |
| port | No | Container port the app listens on. | |
| repo | No | Git repository: https URL (GitHub, GitLab, Bitbucket) or owner/repo for GitHub. The account must have the Git provider connected in the portal for private repos. | |
| branch | No | Git branch (default main). | |
| archive | No | Instead of Git: absolute path to a local .zip/.tar of the source on the machine running this MCP server. | |
| project | No | Project name or ID. Defaults to NIMBUZ_PROJECT, the `nimbuz use` context, or the only project. | |
| storage | No | Persistent volume size, e.g. 1Gi. | |
| instance | No | Instance type, e.g. nano.m, small.m, medium.m (see get_pricing_catalog). | |
| replicas | No | Fixed number of replicas (ignored when autoscale is on). | |
| autoscale | No | Autoscaling bounds {min, max}, or false to turn autoscaling off. | |
| autoDeploy | No | Redeploy automatically on every push (Git only). | |
| dockerfile | No | Dockerfile name (default: auto-detect / buildpacks). | |
| healthPath | No | HTTP health-check path, e.g. /health. | |
| environment | No | Environment name (e.g. production) or ID (env-…). Defaults to NIMBUZ_ENV, the `nimbuz use` context, or the only environment. | |
| waitSeconds | No | Wait up to this many seconds for the rollout to finish (default 0 = return immediately). Builds usually take 1-5 minutes; check later with get_app_status. | |
| buildCommand | No | Command that builds the app, e.g. npm run build (default: auto-detect). | |
| startCommand | No | Command that starts the app, e.g. node server.js (default: auto-detect). | |
| installCommand | No | Command that installs dependencies, e.g. npm ci (default: auto-detect). |