---
title: descriptorClusters()
framework: matter
role: symbol
role_heading: Instance Method
path: matter/mtrdevice/descriptorclusters()
---

# descriptorClusters()

Read all known attributes from descriptor clusters on all known endpoints.

## Declaration

```swift
func descriptorClusters() -> [MTRAttributePath : [String : Any]]
```

## Return Value

Return Value A dictionary with the paths of the attributes as keys and the data-values (as described in the documentation for MTRDeviceResponseHandler) as values.
