delete_model
Delete a Bridge Town model. Requires Owner role on the model. This permanently removes the model and all its git history, files, and collaborator grants. The action cannot be undone. Safety: defaults to dry_run=True to confirm you are targeting the right model. The dry-run response lists what will be deleted without mutating anything and returns a confirmation_token.
destructive
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
model_name | Annotated[str, Field(description='Name of the model to delete. Requires Owner role. This action is permanent and cannot be undone.')] | Yes | — | |
dry_run | Annotated[bool, Field(description='When true, simulate the deletion and return what would be removed without mutating anything. Defaults to true.')] | No | True | |
confirmation_token | `Annotated[str | None, Field(description=‘Token required to confirm deletion (returned by a dry run).’)]` | No | None |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
model(string)deleted(boolean)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "delete_model", "arguments": { "model_name": "forecasts" }}Response
Section titled “Response”{ "model": "forecasts", "deleted": true}- Module:
Models - Requires authentication via API token or Auth0 JWT.