cache_tool_effectiveness
Analyze cache performance by retrieving hit rate, cost savings, and TTL recommendations for a named agent cache. Validates cache type and returns metrics to optimize caching strategy.
Instructions
Per-tool hit rate, cost saved, and TTL recommendation for an agent_cache. Errors with INVALID_CACHE_TYPE on semantic_cache.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_name | Yes | Cache name as registered in __betterdb:caches (e.g. 'betterdb_scache_prod'). | |
| instanceId | No | Connection ID; defaults to the active instance |