• Build agent tools from the LaunchDarkly config tools map and a user-provided registry.

    Iterates over configTools (from config.tools), matches each against the registry, and wraps them into openai-agents compatible tool objects. Returns the tools array and a name mapping for tracking.

    Parameters

    • toolHelper: any
    • configTools: {
          [toolName: string]: LDTool;
      }
      • [toolName: string]: LDTool
    • registry: ToolRegistry
    • Optional logger: LDLogger
      Optional

    Returns {
        agentTools: any[];
        toolNameMap: Record<string, string>;
    }

    • agentTools: any[]
    • toolNameMap: Record<string, string>

Generated using TypeDoc