activate
Swift declarationvar 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>.