Schema for parameters passed to FunctionDeclaration.parameters.
Signature:
export interface FunctionDeclarationSchema
Properties
Property | Type | Description |
---|---|---|
description | string | Optional. Description of the parameter. |
properties | { [k: string]: FunctionDeclarationSchemaProperty; } | The format of the parameter. |
required | string[] | Optional. Array of required parameters. |
type | FunctionDeclarationSchemaType | The type of the parameter. |
FunctionDeclarationSchema.description
Optional. Description of the parameter.
Signature:
description?: string;
FunctionDeclarationSchema.properties
The format of the parameter.
Signature:
properties: {
[k: string]: FunctionDeclarationSchemaProperty;
};
FunctionDeclarationSchema.required
Optional. Array of required parameters.
Signature:
required?: string[];
FunctionDeclarationSchema.type
The type of the parameter.
Signature:
type: FunctionDeclarationSchemaType;