FunctionDeclaration type
Definition for a function call
Signature:
export type FunctionDeclaration = {
name: string;
description: string;
parameters: Parameter[];
response?: Schema;
function: (metadata: FunctionCallMetadata, ...args: any[]) => any | Promise<any>;
};
References: Parameter, Schema, FunctionCallMetadata