---
title: capabilities
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/languagemodel/capabilities
---

# capabilities

The capabilities of this language model.

## Declaration

```swift
var capabilities: LanguageModelCapabilities { get }
```

## Discussion

Discussion If a developer attempts to use capabilities that your model does not support, then the system will automatically throw a LanguageModelSession.GenerationError.unsupportedFeature error for you instead of calling respond(to:).
