Skip to content

Commit e5be113

Browse files
committed
Fix javadoc
Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent b1eec85 commit e5be113

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

auto-configurations/mcp/spring-ai-autoconfigure-mcp-client-common/src/main/java/org/springframework/ai/mcp/client/common/autoconfigure/McpToolCallbackAutoConfiguration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ public class McpToolCallbackAutoConfiguration {
5050
* <p>
5151
* These callbacks enable integration with Spring AI's tool execution framework,
5252
* allowing MCP tools to be used as part of AI interactions.
53+
* @param syncClientsToolFilter list of {@link McpSyncClientBiPredicate}s for the sync
54+
* client to filter the discovered tools
5355
* @param syncMcpClients provider of MCP sync clients
5456
* @return list of tool callbacks for MCP integration
5557
*/

mcp/common/src/main/java/org/springframework/ai/mcp/AsyncMcpToolCallbackProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ public class AsyncMcpToolCallbackProvider implements ToolCallbackProvider {
7979
/**
8080
* Creates a new {@code AsyncMcpToolCallbackProvider} instance with a list of MCP
8181
* clients.
82-
* @param mcpClients the list of MCP clients to use for discovering tools
8382
* @param toolFilter a filter to apply to each discovered tool
83+
* @param mcpClients the list of MCP clients to use for discovering tools
8484
*/
8585
public AsyncMcpToolCallbackProvider(McpAsyncClientBiPredicate toolFilter, List<McpAsyncClient> mcpClients) {
8686
Assert.notNull(mcpClients, "MCP clients must not be null");
@@ -104,8 +104,8 @@ public AsyncMcpToolCallbackProvider(List<McpAsyncClient> mcpClients) {
104104
/**
105105
* Creates a new {@code AsyncMcpToolCallbackProvider} instance with one or more MCP
106106
* clients.
107-
* @param mcpClients the MCP clients to use for discovering tools
108107
* @param toolFilter a filter to apply to each discovered tool
108+
* @param mcpClients the MCP clients to use for discovering tools
109109
*/
110110
public AsyncMcpToolCallbackProvider(McpAsyncClientBiPredicate toolFilter, McpAsyncClient... mcpClients) {
111111
this(toolFilter, List.of(mcpClients));

0 commit comments

Comments
 (0)