One Logo Pool Ball
AppIntents · IOS API REFERENCE

AppSchema.AssistantIntent

protocol · iOS 26.2+ · SDK 27.1

protocol AssistantIntent : AppSchema.Kind

Identifies intent schemas in the assistant domain.

Members (1)

get · iOS 26.2+

activate

Swift declaration
var activate: some AppSchemaIntent { get }

An intent schema that activates the assistant. To make your app's actions available to Apple Intelligence, conform your ``AppIntent`` to a schema that describes your action to the system. If your app's functionality aligns with the `assistant` domain and one of your app's actions matches the `activate` schema, you can generate the properties and protocol conformance the schema requires for your intent implementation with the `@AppIntent( .assistant.activate)` Swift macro. To make your app work with Siri, see <doc://com.apple.documentation/documentation/appintents/apple-intelligence-and-siri-ai>. The following example shows an intent that conforms to the `activate` schema: ```swift @AppIntent(schema: .assistant.activate) struct ActivateAssistantIntent { func perform() async throws -> some IntentResult { <#code#> } } ``` The schema supports the following system experiences: - Side Button For more information about the App Intents framework and the experiences it supports, see <doc://com.apple.documentation/documentation/appintents/getting-started-with-the-app-intents-framework>.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →