Class DefaultMcpResourcesAsToolsPresenter.Builder
java.lang.Object
dev.langchain4j.mcp.resourcesastools.DefaultMcpResourcesAsToolsPresenter.Builder
- Enclosing class:
DefaultMcpResourcesAsToolsPresenter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
descriptionOfGetResourceTool
(String descriptionOfGetResourceTool) Overrides the description of the `get_resource` tool.descriptionOfListResourcesTool
(String descriptionOfListResourcesTool) Overrides the description of the `list_resources` tool.descriptionOfMcpServerParameterOfGetResourceTool
(String descriptionOfMcpServerParameterOfGetResourceTool) Overrides the description of the `mcp_server` parameter of the `get_resource` tool.descriptionOfUriParameterOfGetResourceTool
(String descriptionOfUriParameterOfGetResourceTool) Overrides the description of the `uri` parameter of the `get_resource` tool.nameOfGetResourceTool
(String nameOfGetResourceTool) Overrides the name of the `get_resource` tool.nameOfListResourcesTool
(String nameOfListResourcesTool) Overrides the name of the `list_resources` tool.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nameOfGetResourceTool
public DefaultMcpResourcesAsToolsPresenter.Builder nameOfGetResourceTool(String nameOfGetResourceTool) Overrides the name of the `get_resource` tool. -
descriptionOfGetResourceTool
public DefaultMcpResourcesAsToolsPresenter.Builder descriptionOfGetResourceTool(String descriptionOfGetResourceTool) Overrides the description of the `get_resource` tool. -
descriptionOfMcpServerParameterOfGetResourceTool
public DefaultMcpResourcesAsToolsPresenter.Builder descriptionOfMcpServerParameterOfGetResourceTool(String descriptionOfMcpServerParameterOfGetResourceTool) Overrides the description of the `mcp_server` parameter of the `get_resource` tool. -
descriptionOfUriParameterOfGetResourceTool
public DefaultMcpResourcesAsToolsPresenter.Builder descriptionOfUriParameterOfGetResourceTool(String descriptionOfUriParameterOfGetResourceTool) Overrides the description of the `uri` parameter of the `get_resource` tool. -
nameOfListResourcesTool
public DefaultMcpResourcesAsToolsPresenter.Builder nameOfListResourcesTool(String nameOfListResourcesTool) Overrides the name of the `list_resources` tool. -
descriptionOfListResourcesTool
public DefaultMcpResourcesAsToolsPresenter.Builder descriptionOfListResourcesTool(String descriptionOfListResourcesTool) Overrides the description of the `list_resources` tool. -
build
-