Redeploy app
redeploy_appStarts a new build and rollout of an app from its latest commit, optionally switching to a specified branch first. Use it to ship current source changes to a chosen project environment.
Instructions
Starts a new build and rollout of an app from its current source (the latest commit of its branch), optionally switching branch first.
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": "redeploy_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | App (deployment) name or ID. | |
| branch | No | Switch to this Git branch. | |
| project | No | Project name or ID. Defaults to NIMBUZ_PROJECT, the `nimbuz use` context, or the only project. | |
| 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. |