---
title: "updateRelevantIntents(_:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/relevantintentmanager/updaterelevantintents(_:)"
---

# updateRelevantIntents(_:)

Sets the relevant app intents for the system to suggest.

## Declaration

```swift
final func updateRelevantIntents(_ relevantIntents: [RelevantIntent]) async throws
```

## Discussion

Discussion Parameter relevantIntents: The array of relevant intents that currently apply to your app. Specify an empty array if your app doesn’t have any intents to suggest. Use this method to specify the complete set of relevant app intents for the system to consider. The system uses the relevance information in the RelevantIntent structure to determine when to suggest the action. This method runs asynchronously and throws an error if it’s unable to update the current set of intents.
