Class AugmentedToolCallback<T extends Record>

java.lang.Object
org.springframework.ai.tool.augment.AugmentedToolCallback<T>
All Implemented Interfaces:
ToolCallback

public class AugmentedToolCallback<T extends Record> extends Object implements ToolCallback
This class wraps an existing ToolCallback and modifies its input schema to include additional fields defined in the provided Record type. It also provides a mechanism to handle these extended arguments, either by consuming them via a provided Consumer or by removing them from the input after processing.
Author:
Christian Tzolov