Uses of Class
org.springframework.ai.tool.function.FunctionToolCallback.Builder
-
Uses of FunctionToolCallback.Builder in org.springframework.ai.tool.function
Modifier and TypeMethodDescriptionstatic <I,
O> FunctionToolCallback.Builder<I, O> FunctionToolCallback.builder
(String name, BiFunction<I, ToolContext, O> function) Build aFunctionToolCallback
from aBiFunction
.static <I> FunctionToolCallback.Builder<I,
Void> Build aFunctionToolCallback
from aConsumer
.static <I,
O> FunctionToolCallback.Builder<I, O> Build aFunctionToolCallback
from aFunction
.static <O> FunctionToolCallback.Builder<Void,
O> Build aFunctionToolCallback
from aSupplier
.FunctionToolCallback.Builder.description
(String description) FunctionToolCallback.Builder.inputSchema
(String inputSchema) FunctionToolCallback.Builder.inputType
(org.springframework.core.ParameterizedTypeReference<?> inputType) FunctionToolCallback.Builder.toolCallResultConverter
(ToolCallResultConverter toolCallResultConverter) FunctionToolCallback.Builder.toolMetadata
(ToolMetadata toolMetadata)