Class ToolSearchRequest
java.lang.Object
dev.langchain4j.service.tool.search.ToolSearchRequest
A request to search for tools.
Contains a
ToolExecutionRequest representing an LLM tool call (including search terms or a query),
as well as all searchable tools in the AI Service.- Since:
- 1.12.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ToolSearchRequest.Builderbuilder()booleaninthashCode()Returns the AI Service invocation context associated with this tool search request.Returns all searchable tools for the AI Service.Returns the tool call containing the search query.toString()
-
Constructor Details
-
ToolSearchRequest
-
-
Method Details
-
toolExecutionRequest
Returns the tool call containing the search query. -
searchableTools
Returns all searchable tools for the AI Service. This list does not include tools that were already found during previous searches. -
invocationContext
Returns the AI Service invocation context associated with this tool search request. -
equals
-
hashCode
-
toString
-
builder
-