delete_shared_slice
Delete Shared Slice
Delete a shared slice from the Prismic repository. This action is irreversible. Requires a Write API token.
delete_shared_slice
Delete a shared slice from the Prismic repository. This action is irreversible. Requires a Write API token.
delete_asset
Delete an asset from the Prismic media library. This action is irreversible. Requires a Write API token.
delete_custom_type
Delete a custom type from the Prismic repository. This action is irreversible. Requires a Write API token.
get_document
Retrieve a single document by its ID or by its UID and type. Returns the full document with all field data.
create_custom_type
Create a new custom type in the Prismic repository with the specified schema. Requires a Write API token.
list_custom_types
List all custom types defined in the Prismic repository. Returns the schema and metadata for each type. Requires a Write API token.
update_asset
Update metadata for an existing asset in the Prismic media library, such as alt text, notes, credits, or tags. Requires a Write API token.
upload_asset
Upload a new asset to the Prismic media library from a public URL. Supports images (PNG, JPEG, WEBP, GIF up to 10MB) and other files (up to 100MB). Requires a Write API token.
create_migration_document
Create a new document via the Migration API. Documents are created as drafts in a migration release and must be published through the Prismic UI. Requires a Migration API token.
list_assets
List and search assets in the Prismic media library. Supports filtering by type, keyword, tags, and cursor-based pagination. Requires a Write API token.
update_custom_type
Update an existing custom type's schema, label, or status in the Prismic repository. Requires a Write API token.
query_documents
Search and retrieve published documents from the Prismic repository using filters, predicates, and sorting. Supports filtering by document type, tags, full-text search, and custom predicates. Results are paginated.
update_migration_document
Update an existing document via the Migration API. Changes are saved as drafts in a migration release and must be published through the Prismic UI. Requires a Migration API token.
get_repository_info
Retrieve metadata about the Prismic repository, including available content types, tags, languages, refs (versions), and bookmarks. Useful for discovering what content types and tags exist before querying documents.
create_shared_slice
Create a new shared slice in the Prismic repository. Shared slices are reusable content sections. Requires a Write API token.
list_shared_slices
List all shared slices in the Prismic repository. Shared slices are reusable page sections that can be used across multiple custom types. Requires a Write API token.
get_custom_type
Retrieve a specific custom type by its ID, including its full JSON schema definition. Requires a Write API token.
update_shared_slice
Update an existing shared slice's definition, including its variations and field schemas. Requires a Write API token.
Query, create, and manage structured content in a headless CMS repository. Read published content via REST or GraphQL APIs with filtering, sorting, pagination, and advanced predicates (full-text search, date ranges, geolocation). Manage content types and shared slices programmatically — create, read, update, and delete custom type schemas. Migrate content by creating and updating draft documents in a repository. Upload, update, and delete media assets (images, videos, documents) in the media library. Integrate third-party data sources via integration fields. Receive webhooks for document publish/unpublish events, release changes, and tag changes.
Common questions about connecting Prismic to AI agents with Metorial.