Defines a function in your own code the model can choose to call.
Document| Property | Type | Description |
|---|---|---|
| name | Text | The name of the function to call. |
| parameters | A JSON schema object describing the parameters of the function. | |
| strict | Boolean | Whether to enforce strict parameter validation. Default true. |
| type | Text | The type of the function tool. Always function. |
| description | Text | A description of the function. Used by the model to determine whether or not to call the function. |