File tree Expand file tree Collapse file tree
core/src/main/java/com/google/adk/tools/mcp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ public McpAsyncToolset build() {
121121 }
122122
123123 /**
124- * Initializes the McpAsyncToolset with SSE server parameters .
124+ * Initializes the McpAsyncToolset with a provided McpSessionManager .
125125 *
126- * @param connectionParams The SSE connection parameters to the MCP server .
126+ * @param mcpSessionManager The session manager for MCP connections .
127127 * @param objectMapper An ObjectMapper instance for parsing schemas.
128128 * @param toolFilter Either a ToolPredicate or a List of tool names.
129129 */
130- McpAsyncToolset (
130+ protected McpAsyncToolset (
131131 McpSessionManager mcpSessionManager , ObjectMapper objectMapper , @ Nullable Object toolFilter ) {
132132 Objects .requireNonNull (mcpSessionManager );
133133 Objects .requireNonNull (objectMapper );
You can’t perform that action at this time.
0 commit comments