Optional
descriptionA description of the function. Used by the model to determine whether or not to call the function.
The name of the function to call.
A JSON schema object describing the parameters of the function.
Whether to enforce strict parameter validation. Default true
.
The type of the function tool. Always function
.
Defines a function in your own code the model can choose to call. Learn more about function calling.