Package org.springframework.ai.mcp
Interface McpToolFilter
- All Superinterfaces:
BiPredicate<McpConnectionInfo,io.modelcontextprotocol.spec.McpSchema.Tool>
public interface McpToolFilter
extends BiPredicate<McpConnectionInfo,io.modelcontextprotocol.spec.McpSchema.Tool>
A
BiPredicate for SyncMcpToolCallbackProvider and the
AsyncMcpToolCallbackProvider to filter the discovered tool for the given
McpConnectionInfo.- Author:
- Ilayaperumal Gopinathan
-
Method Summary
Methods inherited from interface java.util.function.BiPredicate
and, negate, or, test