Set application auto deploy
set_application_auto_deployTurn an Application's push-to-deploy switch on or off. With it on, a build the platform observes on the tracked branch is rolled out to the Application's deployments unattended. 'enabled' is required and must be given explicitly: turning unattended deployment on and turning it off are both deliberate acts, and neither is a safe default.
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": {
"application_id": "<application_id>",
"enabled": "<enabled>"
},
"name": "set_application_auto_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true deploys builds observed on the tracked branch without asking; false leaves them built and waiting for an explicit deploy. | |
| environment | No | Scope the switch to one environment (its id, cluster name or role); absent, the switch is application-wide. | |
| application_id | Yes | The Application's id. |