Terminate project
terminate_projectDelete a project for good: its machine, its URL, anything the app kept on the machine (files it wrote, a SQLite database, uploads). It also takes away its bucket with every file in it if add_storage gave it one, and its managed Postgres database if add_database gave it one (those two are kept for 7 days: a new project deployed under the same name can restore them from the console in that time, then they are deleted). Billing stops. Even when the user asked to delete it, first reply telling them what is lost, ask them to confirm, and stop; call with confirm: true only after they answer yes. Without confirm the call refuses and nothing happens. A redeploy under the same name later gets the URL back but not the machine's files; the bucket and database come back only through the console's Restore within the 7 days. To take a project down later rather than now, use schedule_teardown instead. 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": "terminate_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true only once the user, told that the machine and its data are destroyed for good, the URL stops working, and its database and bucket are kept only 7 days, answered yes to that question. The request to delete the project is not that yes: ask first, and stop | |
| project_id | Yes | the id of the project to terminate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes |