Sanity Library Reference Docs
    Preparing search index...

    Function workflowAddressFromInput

    • Parse the WorkflowEnvironmentAddress out of a tool call's input — the host side of the address contract: a host's getContext reads the address from the input this parses and builds (or reuses) the engine for it. Extra input keys (the tool's other parameters) are ignored.

      Parameters

      • input: unknown

      Returns WorkflowEnvironmentAddress