deploy.destroy
Permanently destroy all cloud resources for a deployment. Requires deployment ID; optional audit reason recorded. Irreversible.
Instructions
DESTRUCTIVE: permanently destroy all cloud resources owned by a deployment. Irreversible — confirm the deploymentId with the user first. Prefer deploy.teardown_latest only when intentionally removing the newest active deployment. Optional reason is stored for audit.
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": {
"deploymentId": "<deploymentId>"
},
"name": "deploy.destroy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional audit reason for the destroy | |
| deploymentId | Yes | Deployment id whose resources should be destroyed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| destroyedAt | Yes | ||
| deploymentId | Yes |