Skip to content
Open
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 @@ -121,13 +121,13 @@ public McpAsyncToolset build() {
}

/**
* Initializes the McpAsyncToolset with SSE server parameters.
* Initializes the McpAsyncToolset with a provided McpSessionManager.
*
* @param connectionParams The SSE connection parameters to the MCP server.
* @param mcpSessionManager The session manager for MCP connections.
* @param objectMapper An ObjectMapper instance for parsing schemas.
* @param toolFilter Either a ToolPredicate or a List of tool names.
*/
McpAsyncToolset(
protected McpAsyncToolset(
McpSessionManager mcpSessionManager, ObjectMapper objectMapper, @Nullable Object toolFilter) {
Objects.requireNonNull(mcpSessionManager);
Objects.requireNonNull(objectMapper);
Expand Down