Remove storage
remove_storageRemove a project's S3 bucket: the app loses the bucket and every file in it now. It unsets the S3_* variables (the app restarts without them) and then deletes the bucket's access key. spawnpoint keeps the bucket and its files for 7 days, and a person who may delete the project (its owner; on a team, its builder or a team admin) can restore it from the project's Storage panel in the console; after that it is deleted for good. Even when the user asked to remove the bucket, first reply telling them the app loses the files, ask them to confirm, and stop; call with confirm: true only after they answer yes. Without confirm the call refuses and nothing happens. To replace a leaked key instead, use rotate_storage_key. A protected project refuses it: only its owner turns protection off, on the project's page in the console, so relay the refusal instead of looking for another way.
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>"
},
"name": "remove_storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true only once the user, told what the tool's description says is lost, answered yes to that question. The request to remove it is not that yes: ask first, and stop | |
| project_id | Yes | the id of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| note | Yes | ||
| bucket | No | ||
| public | No | ||
| status | Yes | ||
| warning | No | ||
| read_only | No | ||
| project_id | Yes | ||
| public_url | No |