Uses of Class
org.springframework.ai.chat.model.ToolContext
Packages that use ToolContext
Package
Description
-
Uses of ToolContext in org.springframework.ai.tool
Methods in org.springframework.ai.tool with parameters of type ToolContextModifier and TypeMethodDescriptiondefault StringToolCallback.call(String toolInput, @Nullable ToolContext toolContext) Execute tool with the given input and context, and return the result to send back to the AI model. -
Uses of ToolContext in org.springframework.ai.tool.augment
Methods in org.springframework.ai.tool.augment with parameters of type ToolContextModifier and TypeMethodDescriptionAugmentedToolCallback.call(String toolInput, @Nullable ToolContext tooContext) -
Uses of ToolContext in org.springframework.ai.tool.function
Methods in org.springframework.ai.tool.function with parameters of type ToolContextModifier and TypeMethodDescriptionFunctionToolCallback.call(String toolInput, @Nullable ToolContext toolContext) Method parameters in org.springframework.ai.tool.function with type arguments of type ToolContextModifier and TypeMethodDescriptionstatic <I,O> FunctionToolCallback.Builder <I, O> FunctionToolCallback.builder(String name, BiFunction<I, @Nullable ToolContext, O> function) Build aFunctionToolCallbackfrom aBiFunction.Constructor parameters in org.springframework.ai.tool.function with type arguments of type ToolContextModifierConstructorDescriptionFunctionToolCallback(ToolDefinition toolDefinition, @Nullable ToolMetadata toolMetadata, Type toolInputType, BiFunction<I, @Nullable ToolContext, O> toolFunction, @Nullable ToolCallResultConverter toolCallResultConverter) -
Uses of ToolContext in org.springframework.ai.tool.method
Methods in org.springframework.ai.tool.method with parameters of type ToolContextModifier and TypeMethodDescriptionMethodToolCallback.call(String toolInput, @Nullable ToolContext toolContext)