teardown
Delete a deployment permanently. The URL will stop serving and return a 404. All form submissions and webhooks are permanently deleted.
This tool uses a two-step confirmation flow to prevent accidental data loss.
Annotations
| Annotation | Value |
|---|---|
readOnlyHint | false |
destructiveHint | true |
idempotentHint | false |
openWorldHint | true |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The deployment ID to delete |
confirm | boolean | No | Set to true to confirm deletion. If omitted or false, returns a preview of what will be deleted without taking action. |
Confirmation flow
Calling teardown without confirm: true returns a preview showing exactly what will be destroyed:
You are about to permanently delete this deployment:
ID: abc123
URL: https://my-site.invoker.page
Title: My Landing Page
Submissions: 42
This will permanently delete:
- The live page at https://my-site.invoker.page
- All 42 form submission(s) and their data
- All configured webhooks
This action cannot be undone. To proceed, call this tool again with confirm: true.Only after calling teardown again with confirm: true is the deployment actually deleted.
Return format
After confirmation, returns a message confirming deletion:
Deployment deleted.
ID: abc123
Deployment deleted. All submissions and webhooks have been permanently removed.Example
User prompt:
Take down my old landing page, I don't need it anymore
What Claude does:
- Calls
teardownwith the deploymentid(withoutconfirm). - Shows the user the preview — which site, how many submissions will be lost.
- After the user agrees, calls
teardownagain withconfirm: true. - Confirms the deployment and all its data have been deleted.
Notes
- This action is permanent. The deployment HTML, all form submissions, and all webhooks are deleted and cannot be recovered. Export your submissions first if you need them.
- The deployment record itself is soft-deleted (kept for analytics), but all user-facing data is purged.
- Abuse reports, if any, are retained for trust and safety purposes.
- Deleting a deployment frees up a slot on the free plan (which allows up to 5 active deployments).
- Claude will typically confirm with you before calling this tool, since it is marked as destructive.