Sanity Library Reference Docs
    Preparing search index...

    Type Alias WorkflowToolContextThunk

    WorkflowToolContextThunk: () => Promise<WorkflowToolContext>

    Lazy context supplier. A thunk rather than the context itself so a host never pays for engine construction on tools that don't call it — the guide and validate tools teach and check the DSL without touching the lake, and a per-request host would otherwise build a client for nothing.

    Type declaration