Sanity Library Reference Docs
    Preparing search index...

    Interface AgentResourceContextOptions

    interface AgentResourceContextOptions {
        dataset: string;
        documentId?: string;
        projectId: string;
    }
    Index

    Properties

    dataset: string

    The dataset of the current context

    documentId?: string

    Optional document ID if the user is viewing/editing a specific document

    projectId: string

    The project ID of the current context