Sanity Library Reference Docs
    Preparing search index...
    • Format a WorkflowResource as a resource-shaped GDR — <type>:<id> with no document part (dataset:abc123.production, media-library:mlXyz). The string form for naming a resource (not a document in it) across an API boundary — e.g. the per-call workflow-environment address an MCP tool takes. Inverse of parseResourceGdr.

      Parameters

      Returns string