Uses of Class
dev.langchain4j.agent.tool.ToolExecutionRequest
Packages that use ToolExecutionRequest
Package
Description
-
Uses of ToolExecutionRequest in dev.langchain4j.agent.tool
Methods in dev.langchain4j.agent.tool that return ToolExecutionRequestModifier and TypeMethodDescriptionToolExecutionRequest.Builder.build()Returns aToolExecutionRequestbuilt from the parameters previously set. -
Uses of ToolExecutionRequest in dev.langchain4j.data.message
Methods in dev.langchain4j.data.message that return types with arguments of type ToolExecutionRequestModifier and TypeMethodDescriptionAiMessage.toolExecutionRequests()Get the tool execution requests of the message.Methods in dev.langchain4j.data.message with parameters of type ToolExecutionRequestModifier and TypeMethodDescriptionstatic AiMessageAiMessage.aiMessage(ToolExecutionRequest... toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.static AiMessageAiMessage.from(ToolExecutionRequest... toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.static ToolExecutionResultMessageToolExecutionResultMessage.from(ToolExecutionRequest request, String toolExecutionResult) Creates aToolExecutionResultMessagefrom aToolExecutionRequestand the result of the tool execution.static ToolExecutionResultMessageToolExecutionResultMessage.toolExecutionResultMessage(ToolExecutionRequest request, String toolExecutionResult) Creates aToolExecutionResultMessagefrom aToolExecutionRequestand the result of the tool execution.Method parameters in dev.langchain4j.data.message with type arguments of type ToolExecutionRequestModifier and TypeMethodDescriptionstatic AiMessageAiMessage.aiMessage(String text, List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given text and tool execution requests.static AiMessageAiMessage.aiMessage(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.static AiMessageAiMessage.from(String text, List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given text and tool execution requests.static AiMessageAiMessage.from(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.AiMessage.Builder.toolExecutionRequests(List<ToolExecutionRequest> toolExecutionRequests) Constructor parameters in dev.langchain4j.data.message with type arguments of type ToolExecutionRequestModifierConstructorDescriptionAiMessage(String text, List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given text and tool execution requests.AiMessage(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given tool execution requests. -
Uses of ToolExecutionRequest in dev.langchain4j.internal
Methods in dev.langchain4j.internal that return types with arguments of type ToolExecutionRequest -
Uses of ToolExecutionRequest in dev.langchain4j.model.chat.response
Methods in dev.langchain4j.model.chat.response that return ToolExecutionRequestModifier and TypeMethodDescriptionCompleteToolCall.toolExecutionRequest()A fully constructedToolExecutionRequestthat is ready for execution.Constructors in dev.langchain4j.model.chat.response with parameters of type ToolExecutionRequestModifierConstructorDescriptionCompleteToolCall(int index, ToolExecutionRequest toolExecutionRequest) -
Uses of ToolExecutionRequest in dev.langchain4j.observability.api.event
Methods in dev.langchain4j.observability.api.event that return ToolExecutionRequestModifier and TypeMethodDescriptionToolExecutedEvent.request()Gets theToolExecutionRequestthat initiated the tool execution.ToolExecutedEvent.ToolExecutedEventBuilder.request()Methods in dev.langchain4j.observability.api.event with parameters of type ToolExecutionRequestModifier and TypeMethodDescriptionToolExecutedEvent.ToolExecutedEventBuilder.request(ToolExecutionRequest request) Sets the tool execution request. -
Uses of ToolExecutionRequest in dev.langchain4j.observability.event
Methods in dev.langchain4j.observability.event that return ToolExecutionRequest