Cancel a deploy under way
cancel_deployEnd a deploy or fork that is still under way, by the build_id it returned: use it when a deploy is waiting on capacity and you want the name back. Returns {{BuildState:{{...}}}}. state 'cancelled' means nothing of it landed, any fee it took is returned, your running application is untouched and you can deploy again; 'deployed' means its operation had already finished, so the version is registered and status says whether it has landed, and this ends no trial; 'undoing' means it cannot land and is still being cleaned up. A wait has no time limit of its own, so this is how you end one.
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": {
"build_id": "<build_id>"
},
"name": "cancel_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| build_id | Yes |