Sanity App SDK
    Preparing search index...

    Function agentTransform

    • Alpha

      Transforms a document using the agent.

      Parameters

      • instance: SanityInstance

        The Sanity instance.

      • options: TransformDocument

        The options for the agent transform action. See the Agent Actions API for more details.

      Returns Observable

      An Observable emitting the result of the agent transform action.