• Creates an OpenAI tool definition

    Parameters

    • toolNumber: number

      the number of the tool in that instance for example instance.tools.length + 1 to be used to fill in the name

    Returns objectOutputType

    an OpenAI tool definition