Class ToolInputSchemaAugmenter

java.lang.Object
org.springframework.ai.tool.augment.ToolInputSchemaAugmenter

public final class ToolInputSchemaAugmenter extends Object
This utility provides functionality to augment a JSON Schema with additional fields based on a provided Record type. It uses a JSON Schema Generator to generate the schema for the Record's fields and integrates them into an existing JSON Schema. The augmented schema can then be used to re-define the tool inputs for tool calling.
Author:
Christian Tzolov