Contents

Messages

Make your messaging app’s actions available to Apple Intelligence and Siri by adopting schemas for common messaging actions.

Overview

The .messages domain defines app schemas that provide a structured representation for common messaging actions and content. Apply schemas in the .messages domain to make your app’s messaging functionality available to Apple Intelligence and Siri. Each schema defines the requirements for intents, parameters, and results so people get a consistent experience across messaging apps. For example, a person can send a message on different apps that support the sendMessage schema with the same phrases.

The following table maps example phrases that apply to each schema. Your app needs to support all of these schemas when it supports any one of them.

Messages intent schemas

Example phrases

Draftmessage

“Start a message.” or “Draft a message.”

Sendmessage

“Send a message to John asking what time the party starts.” or “Text the foodie group and ask, ‘What time is dinner again?’”

Editsentmessage

“Edit my last message.” or “Edit my last message to say ‘Good morning!’ instead of ‘Hello!’”

Unsendmessage

“Unsend my last message.” or “Unsend that.”

Setmessagereadstatus

“Mark this message as unread.” or “Mark the message from the lawyer as unread.”

At build time, Xcode validates whether your app implements all the schemas in the group.

For more information about making your app’s actions available to Apple Intelligence and Siri, see Apple Intelligence and Siri AI.

Topics

Essentials

Actions

Content and parameter types

Types for static parameters

See Also

Primary domains