Uses of Class
org.springframework.ai.model.tool.DefaultToolCallingManager.Builder
Packages that use DefaultToolCallingManager.Builder
-
Uses of DefaultToolCallingManager.Builder in org.springframework.ai.model.tool
Methods in org.springframework.ai.model.tool that return DefaultToolCallingManager.BuilderModifier and TypeMethodDescriptionDefaultToolCallingManager.builder()ToolCallingManager.builder()Create a defaultToolCallingManagerbuilder.DefaultToolCallingManager.Builder.excludeToolFromLimit(String toolName) Exempt the named tool from the per-tool call limit, so it can be called an unlimited number of times regardless ofmaxCallsPerTool(int)or a priormaxCallsPerTool(String, int)override for that tool.DefaultToolCallingManager.Builder.maxCallsPerTool(int maxCallsPerTool) Default maximum number of times any single tool can be called within a turn, unless overridden for a specific tool name viamaxCallsPerTool(String, int)or exempted viaexcludeToolFromLimit(String).DefaultToolCallingManager.Builder.maxCallsPerTool(String toolName, int maxCallsPerTool) Maximum number of times the named tool can be called within a turn, overriding the default set viamaxCallsPerTool(int)for that tool only.DefaultToolCallingManager.Builder.maxTotalToolCalls(int maxTotalToolCalls) Maximum number of tool calls, across all tools combined, allowed within a turn.DefaultToolCallingManager.Builder.observationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry) DefaultToolCallingManager.Builder.onLimitExceeded(ToolCallLimitBehavior onLimitExceeded) What to do when a configured limit is exceeded.DefaultToolCallingManager.Builder.resolutionFallbackEnabled(boolean resolutionFallbackEnabled) Whether a call to a tool that is not part of the request's tool callbacks may still be executed by resolving it through theToolCallbackResolver.DefaultToolCallingManager.Builder.toolCallbackResolver(ToolCallbackResolver toolCallbackResolver) DefaultToolCallingManager.Builder.toolExecutionExceptionProcessor(ToolExecutionExceptionProcessor toolExecutionExceptionProcessor) DefaultToolCallingManager.Builder.unlimitedCallsPerTool()Disable the per-tool call limit entirely, undoingmaxCallsPerTool(int)(or theDefaultToolCallingManager.DEFAULT_MAX_CALLS_PER_TOOLdefault), so that, absent a specificmaxCallsPerTool(String, int)override, any tool can be called an unlimited number of times.DefaultToolCallingManager.Builder.unlimitedTotalToolCalls()Disable the total tool call limit entirely, undoingmaxTotalToolCalls(int)(or theDefaultToolCallingManager.DEFAULT_MAX_TOTAL_TOOL_CALLSdefault).