One Logo Pool Ball
AppIntents · IOS API REFERENCE

AssistantSchemas.AssistantIntent

protocol · iOS 26.2+ · SDK 27.1

protocol AssistantIntent : AssistantSchemas.Model

Assistant schema conformance for types you use for assistant functionality.

Members (1)

get · iOS 26.2+

activate

Swift declaration
var activate: some AssistantSchemas.Intent { get }

## Overview To integrate your app’s functionality with Siri and Apple Intelligence, you use Swift macros that generate additional properties and add protocol conformance for your app intent implementation. For general information about app intent domains, see <doc:making-actions-and-content-discoverable-by-apple-intelligence>. The following example shows an app intent that conforms to the `assistant.activate` schema: ```swift @AppIntent(schema: .assistant.activate) struct ActivateAssistantIntent { func perform() async throws -> some IntentResult { <#code#> } } ```

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →