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:

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.”

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

Message sending use-case group

A use-case group is a set of related schemas that share a single purpose. The draftMessage and sendMessage schemas form a use-case group for sending messages. Xcode reports a build warning if your app supports one schema in the group and not the other.

Topics

Essentials

Actions

Content and parameter types

Types for static parameters

See Also

Primary domains