Package org.springframework.ai.model.tool
@NullMarked
package org.springframework.ai.model.tool
-
ClassDescriptionDefault implementation of
StructuredOutputChatOptions.Default implementation ofToolCallingChatOptions.Default implementation ofToolCallingChatOptions.Builder.Default implementation ofToolCallingManager.Default implementation ofToolExecutionResult.Mixin interface for ChatModels that support structured output.Decides which tool calls a person must confirm before they run.Thrown by aToolCallingManagerwhen a tool call of the batch needs a person's confirmation before it runs (seeToolCallConfirmationPolicy) and noToolCallDecisionswere given.A caller's decision on one tool call that waits for confirmation: allow it to run, or deny it with a message that the model receives as the call's result.The decisions a person made on the tool calls of anAssistantMessage, for aToolCallingManagerto carry them out.A set of options that can be used to configure the interaction with a chat model, including tool calling.ToolCallingChatOptions.Builder<B extends ToolCallingChatOptions.Builder<B>>A builder to create aToolCallingChatOptionsinstance.Service responsible for managing the tool calling process for a chat model.Determines whatDefaultToolCallingManagerdoes when a configured tool call limit (per tool name or total per turn) is exceeded.Thrown byDefaultToolCallingManagerwhen a configured tool call limit is exceeded andToolCallLimitBehavior.THROWis in effect.Interface for determining when tool execution should be performed based on model responses.The result of a tool execution.