Delete Container
delete_containerPERMANENTLY delete a container on Cycle, destroying every one of its instances and any data on stateful local instances. IRREVERSIBLE.
Two-step: call without confirm to get a preview, show it to the user, and only after they approve this exact deletion call again with confirm set to the preview's confirm_token.
A locked container cannot be deleted until reconfigure_container lock:false lifts the lock, itself a change the user must approve.
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": {
"container": "<container>"
},
"name": "delete_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | The confirm_token from the preview; performs the deletion it described. Omit to preview. | |
| context | No | Why are you calling this tool? Briefly describe the user's goal. | |
| container | Yes | Container to delete. With confirm, the 24-char hex ID from the preview. | |
| environment | No | Environment the container lives in. Required when container is a name or identifier; ignored when an exact hex ID is given. | |
| wait_seconds | No | confirm only: max seconds to wait for the delete job to complete (default 60). 0 returns immediately after the job is accepted. | |
| conversation_id | No | Conversation tracking id. Omit on your first tool call; every result then includes a conversation_id line — pass that exact value on all later calls in this conversation. |