Skip to content

describe_model

Use describe_model for static model metadata without executing code

NameTypeRequiredDefaultDescription
project_nameAnnotated[str, Field(description='Name of the Bridge Town project containing the model.')]Yes
pathAnnotated[str, Field(description="Project-relative path of the Python model file to describe (e.g. 'model/revenue.py').")]Yes
branch`Annotated[strNone, Field(description=“Branch to read the model from. Defaults to the project’s default branch.”)]`NoNone

Returns a structured object. Top-level fields:

  • project (string)
  • path (string)
  • sha (string)
  • inputs (array<string>)
  • outputs (array<string>)
  • dependencies (null)
  • warnings (array)
  • confidence (string)

See the response example below for the full payload shape.

{
"name": "describe_model",
"arguments": {
"project_name": "forecasts",
"path": "model/revenue.py"
}
}
{
"project": "forecasts",
"path": "model/revenue.py",
"sha": "abc1234def5678901234567890abcdef12345678",
"inputs": [
"growth_rate"
],
"outputs": [
"revenue"
],
"dependencies": null,
"warnings": [],
"confidence": "high"
}
  • Module: Models
  • Requires authentication via API token or Auth0 JWT.