Function definition format for function calling

The json/typescript equivalent of a list is an array.

Where a weather example might have a “string” as a property to output the city, you would specify “array”. Then the function description, function and property names, and array property description must all be complete enough to know what kind of items the AI is to include and when the function would be of utility to satisfy a user question.