Schedule teardown
schedule_teardownSchedule a spawnpoint project to terminate itself automatically: pass in (e.g. 45m, 2h, 1d) to set or move the teardown, or omit it to cancel one. The sweep runs about once a minute, so teardown happens within a minute of the scheduled time, and it is exactly a terminate: billing stops, the machine is destroyed (a database or bucket is kept 7 days, restorable from the console), and redeploying under the same name later brings the project back at the same share URL. Right for demos, reviews, and anything that should not bill overnight. A protected project refuses a teardown (cancelling one still works): only its owner turns protection off, on the project's page in the console.
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": "schedule_teardown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| in | No | tear the project down this long from now, e.g. 45m, 2h, 1d (minimum 5m, maximum 30d). Omit to cancel a scheduled teardown | |
| project_id | Yes | the id of the project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| project_id | Yes | ||
| teardown_at | No |