Uses of Interface
dev.langchain4j.agent.tool.ToolSource
Packages that use ToolSource
Package
Description
-
Uses of ToolSource in dev.langchain4j.agent.tool
Subinterfaces of ToolSource in dev.langchain4j.agent.toolModifier and TypeInterfaceDescriptionstatic interfaceA local@Toolmethod.static interfaceOne or more MCP servers.static interfaceA programmatically registered tool.Methods in dev.langchain4j.agent.tool that return ToolSourceModifier and TypeMethodDescriptionstatic ToolSourceCreates a source for a local@Toolmethod.static ToolSourceCreates a source for a local@Toolmethod from its descriptive data, without reflection.static ToolSourceCreates a source for a single MCP server.static ToolSourceToolSource.mcp(Collection<String> serverKeys) Creates a source spanning several MCP servers, for example tools that list or read resources across multiple MCP clients.static ToolSourceToolSource.programmatic()Creates a source for a tool registered programmatically, without an explicit source. -
Uses of ToolSource in dev.langchain4j.guardrail
Methods in dev.langchain4j.guardrail that return ToolSourceModifier and TypeMethodDescriptionToolInputGuardrailRequest.toolSource()ToolOutputGuardrailRequest.toolSource()Methods in dev.langchain4j.guardrail with parameters of type ToolSourceModifier and TypeMethodDescriptionToolInputGuardrailRequest.Builder.toolSource(ToolSource toolSource) Sets where the tool comes from.ToolOutputGuardrailRequest.Builder.toolSource(ToolSource toolSource) Sets where the tool comes from. -
Uses of ToolSource in dev.langchain4j.service.guardrail
Methods in dev.langchain4j.service.guardrail that return ToolSourceModifier and TypeMethodDescriptionToolGuardrailService.ToolKey.toolSource()Where the tool comes from. -
Uses of ToolSource in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return ToolSourceMethods in dev.langchain4j.service.tool with parameters of type ToolSourceModifier and TypeMethodDescriptionAiServiceTool.Builder.toolSource(@Nullable ToolSource toolSource) Sets where this tool comes from.