none means the model will not call any tool and instead generates a message.
none
auto means the model can pick between generating a message or calling one or more tools.
auto
required means the model must call one or more tools.
required
Represents the auto mode for invoking tools in the OpenAI system.
Represents the none mode for invoking tools in the OpenAI system.
Represents the required mode for invoking tools in the OpenAI system.
Creates a function tool with the specified name.