Skip to content

Commit c6c86c4

Browse files
google-genai-botcopybara-github
authored andcommitted
feat: making the McpAsyncToolset constructor protected for subclassing
PiperOrigin-RevId: 899218434
1 parent 78766c1 commit c6c86c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/com/google/adk/tools/mcp/McpAsyncToolset.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public McpAsyncToolset build() {
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);

0 commit comments

Comments
 (0)