FunctionDefinition
Secondary constructor that allows creating a FunctionDefinition by specifying its name, an optional description, and a block to define the JSON Schema parameters through a JsonSchemaBuilder.
Parameters
name
The name of the function.
description
An optional description of what the function does.
block
A lambda with a receiver of JsonSchemaBuilder to define the JSON Schema parameters.