Member Junction
    Preparing search index...
    • Sanitizes an action or tool name to conform to provider wire constraints (e.g. OpenAI function naming: ^[a-zA-Z0-9_-]{1,64}$).

      Replaces non-alphanumeric/hyphen/underscore characters with underscores, collapses consecutive runs of underscores into a single underscore, and truncates to 64 characters.

      Parameters

      • name: string

        The original action or tool name.

      Returns string

      The sanitized wire-safe name.