Request Deletion of a Deployment
varity_delete_deploymentRequest deletion of a Varity deployment by id or app name to stop routing and release resources. Poll deployment status afterward to confirm deletion and billing stop before telling the developer it's done.
Instructions
Request deletion of an existing Varity deployment by id or app name. Returns as soon as the delete is accepted, usually with status deleting; it does not wait. Billing stop is proven only when varity_deploy_status shows status deleted and billing.state stopped, so poll that tool before telling the developer billing has stopped. Use this when a developer says 'stop my ', 'shut down my deployment', 'I'm done with ', 'delete ', or when they no longer need a running app or agent. The durable operation independently reconciles route removal, reserved hardware release, and billing stop. Use varity_deploy_status or list deployments at https://developer.store.varity.so/dashboard to confirm the deployment first if the developer is unsure.
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": {
"deployment": "<deployment>"
},
"name": "varity_delete_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deployment | Yes | The deployment id or app name (the slug in https://varity.app/<name>/), including a deployment that failed before it got a URL. Example: 'worker-bot'. |