A comprehensive explanation of the function's purpose and capabilities.
The unique identifier for the function within the API call.
Defines the input data required by the function.
Lists individual parameters.
A clear explanation of the parameter's purpose and expected format.
The data type of the parameter, such as string, integer, boolean.
An array of strings listing the parameter names that are mandatory for the function to operate.
Specifies the overall data type, such as object.
Generated using TypeDoc
When you implement function calling in a prompt, you create a tools object, which contains one or more function declarations.
Go to AI doc page for more details