<!--
{
  "documentType" : "article",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/app-schema-domain-reader",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Reader"
}
-->

# Reader

Make your document reader’s actions available in the Shortcuts app by adopting schemas for document viewing and manipulation.

## Discussion

The `.reader` domain defines app schemas that provide a
structured representation for common document reading actions and content.
Apply schemas in the `.reader` domain to make your document reader’s functionality available as actions in the Shortcuts app.
Schemas in this domain don’t make your conforming types discoverable by Apple Intelligence and Siri.

> Tip: Xcode generates a template implementation when you type `reader_` and select a schema from the suggestions list.

For more information about app schemas, see [App schema domains](/documentation/AppIntents/app-schema-domains).

## Topics

### Actions

[`var deletePages: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/deletePages)

An intent schema that deletes the specified pages.

[`var enhanceDocuments: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/enhanceDocuments)

An intent schema that enhances the documents.

[`var insertPages: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/insertPages)

An intent schema that inserts pages from the specified files.

[`var openDocument: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/openDocument)

An intent schema that opens the specified files in the reader.

[`var openPage: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/openPage)

An intent schema that opens the app to the specified document page.

[`var resizeDocuments: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/resizeDocuments)

An intent schema that resizes the documents to a particular width and height.

[`var rotateDocuments: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/rotateDocuments)

An intent schema that rotates the documents in the specified direction.

[`var rotatePages: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/rotatePages)

An intent schema that rotates the pages in the specified direction.

[`var searchDocuments: some AppSchemaIntent`](/documentation/AppIntents/AppSchema/ReaderIntent/searchDocuments)

An intent schema that searches for text in the documents.

[`protocol ReaderIntent`](/documentation/AppIntents/AppSchema/ReaderIntent)

Identifies intent schemas in the reader domain.

### Content and parameter types

[`var document: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/ReaderEntity/document)

An entity schema for a document.

[`var page: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/ReaderEntity/page)

An entity schema for a page.

[`protocol ReaderEntity`](/documentation/AppIntents/AppSchema/ReaderEntity)

Identifies entity schemas in the reader domain.

### Types for static parameters

[`var documentKind: some AppSchemaEnum`](/documentation/AppIntents/AppSchema/ReaderEnum/documentKind)

An enum schema for a document kind parameter.

[`protocol ReaderEnum`](/documentation/AppIntents/AppSchema/ReaderEnum)

Identifies enum schemas in the reader domain.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)