Skip to content

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

NameTypeRequiredDefaultDescription
model_nameAnnotated[str, Field(description='Name of the model to delete. Requires Owner role. This action is permanent and cannot be undone.')]Yes
dry_runAnnotated[bool, Field(description='When true, simulate the deletion and return what would be removed without mutating anything. Defaults to true.')]NoTrue
confirmation_token`Annotated[strNone, Field(description=‘Token required to confirm deletion (returned by a dry run).’)]`NoNone

Returns a structured object. Top-level fields:

  • model (string)
  • deleted (boolean)

See the response example below for the full payload shape.

{
"name": "delete_model",
"arguments": {
"model_name": "forecasts"
}
}
{
"model": "forecasts",
"deleted": true
}
  • Module: Models
  • Requires authentication via API token or Auth0 JWT.