Home > @google/generative-ai > FunctionDeclarationSchema
Schema for parameters passed to FunctionDeclaration.parameters.
Signature:
export interface FunctionDeclarationSchema
Property | Modifiers | Type | Description |
---|---|---|---|
description? | string | (Optional) Optional. Description of the parameter. | |
properties | { [k: string]: FunctionDeclarationSchemaProperty; } | The format of the parameter. | |
required? | string[] | (Optional) Optional. Array of required parameters. | |
type | FunctionDeclarationSchemaType | The type of the parameter. |