# Prismic

Prismic is a headless CMS that enables developers and content teams to manage and deliver content seamlessly across various platforms.

- **Category:** website builders
- **Auth:** API_KEY
- **Tools:** 13
- **Triggers:** 0
- **Slug:** `PRISMIC`
- **Version:** 20260211_00

## Tools

### Get Prismic Documents with Fulltext Search

**Slug:** `PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_FULLTEXT_SEARCH`

Search Prismic documents using full-text search. Searches across all text fields in documents for the specified terms. The search is case-insensitive and matches based on root words. Automatically retrieves the current master ref. Returns paginated results ordered by relevance.

### Content API: Get Documents with Integration Fields

**Slug:** `PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_INTEGRATION_FIELDS`

Tool to fetch Prismic documents including integration fields data. Use when you need both core content and integration fields in one query. Call after obtaining a valid ref token.

### Get Prismic Documents with Predicates

**Slug:** `PRISMIC_CONTENT_API_GET_DOCUMENTS_WITH_PREDICATES`

Tool to fetch Prismic documents using specified predicates. Use when filtering documents based on multiple conditions after obtaining the repository's master ref.

### Prismic: Query Documents

**Slug:** `PRISMIC_CONTENT_API_QUERY_DOCUMENTS`

Tool to query Prismic documents using predicates and pagination. Use when you need to fetch multiple documents from a repository after obtaining a ref.

### Get Prismic Document by ID

**Slug:** `PRISMIC_GET_DOCUMENT_BY_ID`

Tool to retrieve a specific Prismic document by its ID. Use after obtaining a content ref.

### Prismic: Search Documents

**Slug:** `PRISMIC_GET_DOCUMENTS_BY_CUSTOM_FIELD`

Search and retrieve Prismic documents using query predicates. Supports filtering by document type, custom fields, tags, and other attributes. Requires a repository ref (obtain via repository refs endpoint). Returns paginated results with full document metadata and content.

### Get Prismic Documents by Tag

**Slug:** `PRISMIC_GET_DOCUMENTS_BY_TAG`

Retrieves Prismic documents filtered by a specific tag. Tags in Prismic are labels assigned to documents for categorization and filtering. This action performs an exact match query on document.tags and returns all documents that have the specified tag. Supports pagination, language filtering, and custom sorting.

### Get Prismic Documents by Type

**Slug:** `PRISMIC_GET_DOCUMENTS_BY_TYPE`

Fetch Prismic documents filtered by custom type. Returns paginated results of all documents matching the specified type. Automatically retrieves the master ref and supports optional filtering by language, sorting, and cursor-based pagination.

### Get Ordered Documents

**Slug:** `PRISMIC_GET_DOCUMENTS_ORDERED`

Fetches Prismic documents sorted by specified fields. Essential for retrieving content in a specific order (e.g., newest first, alphabetically). Requires an API ref from the Get Repository Refs action. Supports pagination, filtering, and field selection. Returns empty results if no documents match the criteria.

### Get Prismic Repository Info

**Slug:** `PRISMIC_REPOSITORY_API_GET_INFO`

Retrieves comprehensive metadata about a Prismic repository including available refs (content versions), custom types, languages, tags, bookmarks, and API forms. This is typically the first API call made after authentication to discover repository configuration and available content endpoints. The 'refs' field is particularly important as refs are required for querying documents via the Content API.

### Get Prismic Repository Refs

**Slug:** `PRISMIC_REPOSITORY_API_GET_REFS`

Tool to retrieve a list of repository refs (master and releases). Use when you need the current repository references before executing any content queries.

### Get Prismic Tags

**Slug:** `PRISMIC_TAGS_API_GET_ALL_TAGS`

Tool to retrieve all tags from Prismic repository. Use when you need the full list of tags for filtering or categorization.

### Prismic: Get Custom Types

**Slug:** `PRISMIC_TYPES_API_GET_TYPES`

Retrieves all custom types (content models) defined in the Prismic repository. Custom types define the structure of content in Prismic. This action returns metadata about each custom type including its ID, label, structure definition (JSON schema), and whether it's repeatable. Use this to discover available content types before querying documents, or to understand the content model of a repository. Returns an empty list if no custom types are defined in the repository.
