Skip to main content

Module tool_discovery_cache

Module tool_discovery_cache 

Source
Expand description

Tool discovery caching system for MCP to avoid redundant tool searches

This module provides multi-level caching for MCP tool discovery with bloom filters for fast negative lookups and LRU cache for positive results.

Structs§

BloomFilter
Bloom filter for fast negative lookups (tool doesn’t exist)
CachedToolDiscovery
Enhanced tool discovery with caching
ToolCacheStats
Cache statistics for monitoring
ToolDiscoveryCache
Multi-level caching system for tool discovery
ToolDiscoveryResult
Cached tool discovery result (matches actual API)