Class AiServiceTool
java.lang.Object
dev.langchain4j.service.tool.AiServiceTool
Represents a tool managed by an AI Service, combining:
ToolSpecification— what is sent to the LLMToolExecutor— what is called when the LLM invokes the tool- Metadata that controls how the AI Service handles this tool (e.g., immediate return)
- Since:
- 1.13.0
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
toolSpecification
-
toolExecutor
-
immediateReturn
public boolean immediateReturn() -
builder
-