App Intents | Apple Developer Documentation

archived 24 Jun 2025 01:26:15 UTC
Skip Navigation
Framework

App Intents

Make your app’s content and actions discoverable with system experiences like Spotlight, widgets, and the Shortcuts app.
iOS 16.0+iPadOS 16.0+Mac Catalyst 16.0+macOS 13.0+tvOS 16.0+visionOS 1.0+watchOS 9.0+

Overviewin page link

The App Intents framework provides functionality to deeply integrate your app’s actions and content with system experiences across platforms, including Siri, Spotlight, widgets, controls and more. With Apple Intelligence and enhancements to App Intents, Siri will suggest your app’s actions to help people discover your app’s features and gains the ability to take actions in and across apps.
A hero image of an App Intents framework icon.
By adopting the App Intents framework, you allow people to personalize their devices by instantly using your app’s functionality with:
  • Interactions with Siri, including those that use the personal context awareness and action capabilities of Apple Intelligence.
  • Spotlight suggestions and search.
  • Actions and automations in the Shortcuts app.
  • Hardware interactions that initiate app actions, like the Action button and squeeze gestures on Apple Pencil.
  • Focus to allow people to reduce distractions.
For example, App Intents enables you to express your app’s actions, by offering an App Shortcut. People can then ask Siri to take those actions on their behalf, whether they’re in your app or elsewhere in the system. Use App Entities to expose content in your app to Spotlight and semantic indexing with Apple Intelligence. People can then ask Siri to retrieve information from your app, like asking Siri to pull up flight information from a travel app to share with a loved one.
You reuse these components with other technologies to offer additional features and experiences that make your app and its functionality even more discoverable and widely available. For example, you reuse modular App Intents code together with WidgetKit to offer:
  • Interactive widgets
  • Controls
  • Live Activities
To learn more about features that the App Intents framework enables and how you can best adopt the framework, see Making actions and content discoverable and widely available.

Topicsin page link

App Intents updates
Learn about important changes in App Intents.
Making actions and content discoverable and widely available
Adopt App Intents to make your app discoverable with Spotlight, controls, widgets, and the Action button.
Creating your first app intent
Create your first app intent that makes your app available in system experiences like Spotlight or the Shortcuts app.
Adopting App Intents to support system experiences
Create app intents and entities to incorporate system experiences such as Spotlight, visual intelligence, and Shortcuts.
Accelerating app interactions with App Intents
Enable people to use your app’s features quickly through Siri, Spotlight, and Shortcuts.
Integrating actions with Siri and Apple Intelligence
Create app intents, entities, and enumerations that conform to assistant schemas to tap into the enhanced action capabilities of Siri and Apple Intelligence.
Making onscreen content available to Siri and Apple Intelligence
Enable Siri and Apple Intelligence to respond to a person’s questions and action requests for your app’s onscreen content.
App intent domains
Make your app’s actions and content available to Siri and Apple Intelligence with assistant schemas.
Making your app’s functionality available to Siri
Add assistant schemas to your app so Siri can complete requests, and integrate your app with Apple Intelligence, Spotlight, and other system experiences.
Integrating your app with visual intelligence
Enable people to find app content that matches their surroundings or objects onscreen with visual intelligence.
Visual Intelligence
Include your app’s content in search results that visual intelligence provides.
Beta
protocol  IntentValueQuery
A query that provides entity values to the system; for example, for visual intelligence search.
Displaying static and interactive snippets
Enable people to view the outcome of an app intent and immediately perform follow-up actions.
protocol  SnippetIntent
An app intent that presents an interactive snippet onscreen.
Making app entities available in Spotlight
Allow people to find your app’s content in Spotlight by donating app entities to its semantic index.
Focus
Adjust your app’s behavior and filter incoming notifications when the current Focus changes.
Action button on iPhone and Apple Watch
Enable people to run your App Shortcuts with the Action button on iPhone or to start your app’s workout or dive sessions using the Action button on Apple Watch.
Developing a WidgetKit strategy
Explore features, tasks, related frameworks, and constraints as you make a plan to implement widgets, controls, watch complications, and Live Activities.
Soup Chef with App Intents: Migrating custom intents
Integrating App Intents to provide your appʼs actions to Siri and Shortcuts.
App intents
Define the custom actions your app exposes to the system, and incorporate support for existing SiriKit intents.
Intent discovery
Donate your app’s intents to the system to help it identify trends and predict future behaviors.
App Shortcuts
Integrate your app’s intents and entities with the Shortcuts app, Siri, Spotlight, and the Action button on supported iPhone and Apple Watch models.
Adding parameters to an app intent
Enable people to configure app intents with their custom input values.
Integrating custom data types into your intents
Provide the system with information about the types your app uses to model its data so that your intents can use those types as parameters.
Parameter resolution
Define the required parameters for your app intents and specify how to resolve those parameters at runtime.
App entities
Make core types or concepts discoverable to the system by declaring them as app entities.
Entity queries
Help the system find the entities your app defines and use them to resolve parameters.
Resolvers
Resolve the parameters of your app intents, and extend the standard resolution types to include your app’s custom types.
Common types
Specify common types that your app supports, including currencies, files, and contacts.
struct  AppIntentError
Errors that your intent-handling code can return to indicate problems while interpreting or executing an app intent.
protocol  AppIntentSceneDelegate
Implement this protocol on your UIScene delegate to handle AppIntent invocations targeting a specific scene Example:
protocol  ShowsSnippetIntent
The result of performing an action that present a snippet generated by a SnippetIntent-conforming type.
struct  ConfirmationConditions
Conditions for a confirmation request.
struct  EntityURLRepresentation
The URL representation of an app entity.
struct  EnumURLRepresentation
The URL representation of an app enum.
struct  FileEntityIdentifier
An identifier for an app entity that refers to a document or other file.
struct  IntentChoiceOption
A structure representing an entry in a list of options for a person to choose from before an app intent resumes its action.
struct  IntentModes
A set of options that describe an app intent’s behavior.
struct  IntentURLRepresentation
The URL representation of an app intent.
enum  AppShortcutPhraseToken
Dynamic values you can include in the spoken phrases that run your shortcut.
Current page is App Intents
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%