Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public enum ClientType {
* <p>
* This configuration is used to enable or disable tool callbacks in the MCP client.
*/
private Toolcallback toolcallback = new Toolcallback();
private ToolCallback toolCallback = new ToolCallback();

public boolean isEnabled() {
return this.enabled;
Expand Down Expand Up @@ -161,22 +161,22 @@ public void setRootChangeNotification(boolean rootChangeNotification) {
this.rootChangeNotification = rootChangeNotification;
}

public Toolcallback getToolcallback() {
return this.toolcallback;
public ToolCallback getToolCallback() {
return this.toolCallback;
}

public void setToolcallback(Toolcallback toolcallback) {
this.toolcallback = toolcallback;
public void setToolCallback(ToolCallback toolCallback) {
this.toolCallback = toolCallback;
}

/**
* Represents a callback configuration for tools.
* <p>
* This record is used to encapsulate the configuration for enabling or disabling tool
* This class is used to encapsulate the configuration for enabling or disabling tool
* callbacks in the MCP client.
*
*/
public static class Toolcallback {
public static class ToolCallback {

/**
* A boolean flag indicating whether the tool callback is enabled. If true, the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public Map<String, ConnectionParameters> getConnections() {
}

/**
* Parameters for configuring an Streamable Http connection to an MCP server.
* Parameters for configuring a Streamable Http connection to an MCP server.
*
* @param url the URL endpoint for Streamable Http communication with the MCP server
* @param endpoint the endpoint for the MCP server
Expand Down