Skip to content

get_model_overview

Get a bounded model inventory of branches and files. Use the returned paths and branch names for precise follow-up reads.

read-only · idempotent

NameTypeRequiredDefaultDescription
model_nameAnnotated[str, Field(description='Name of the Bridge Town model.')]Yes
max_filesAnnotated[int, Field(description='Maximum file entries; capped at 50.')]No25
max_branchesAnnotated[int, Field(description='Maximum branch entries; capped at 50.')]No20
workspace_id`Annotated[strNone, Field(description=WORKSPACE_ID_FIELD_DESCRIPTION)]`NoNone

Returns a structured object. Top-level fields:

  • model (string)
  • branches (array<object>)
  • files (array<object>)
  • truncated (boolean)

See the response example below for the full payload shape.

{
"name": "get_model_overview",
"arguments": {
"model_name": "forecasts",
"max_files": 10,
"max_branches": 10
}
}
{
"model": "forecasts",
"branches": [
{
"name": "scenario/aggressive-growth",
"protected": false
}
],
"files": [
{
"path": "run.py",
"size": 4120
}
],
"truncated": false
}
  • Module: Models
  • Requires authentication via API token or Auth0 JWT.