# build_model_identity_section

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/agent/build_model_identity_section)

Build the `### Model Identity` section for the system prompt.

## Signature

```python
build_model_identity_section(
    name: str | None,
    provider: str | None = None,
    context_limit: int | None = None,
    unsupported_modalities: frozenset[str] = frozenset(),
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `name` | `str \| None` | Yes | Model identifier (e.g. `claude-opus-4-6`). |
| `provider` | `str \| None` | No | Provider identifier (e.g. `anthropic`). (default: `None`) |
| `context_limit` | `int \| None` | No | Max input tokens from the model profile. (default: `None`) |
| `unsupported_modalities` | `frozenset[str]` | No | Input modalities not indicated as supported by the model profile (e.g. `{"audio", "video"}`). (default: `frozenset()`) |

## Returns

`str`

The section text including the heading and trailing newline,

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a9e6e4f7ad7fe161dd9affc3d74bb19784aca70b/libs/cli/deepagents_cli/agent.py#L429)