cancel_deployment
Cancel a deployment still building, discard its work, and keep the previously live version active. First call returns a preview; call again with confirm=true to proceed.
Instructions
Cancel a deployment that is still building. Its work is discarded; what was live before stays live. The first call only returns a preview; call again with confirm=true once the user agrees.
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": {
"project_id": "<project_id>",
"deployment_id": "<deployment_id>"
},
"name": "cancel_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| project_id | Yes | ||
| deployment_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |