Deploy again without sending the code
redeployRebuild and release an already uploaded app with its current environment variables, or deploy the newest GitHub commit. Returns a taskId to poll with deployment_status.
Instructions
Build and release the application again without uploading it. By default that is the version last sent, with the current environment variables: this is how a changed variable or a new AI key reaches the running app. For an application built from GitHub, latest deploys the newest commit on its default branch instead. Returns a taskId to poll with deployment_status.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "redeploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latest | No | GitHub applications only: deploy the branch's newest commit. |