cache_tool_effectiveness
Evaluate cache effectiveness by retrieving hit rate, cost saved, and TTL recommendations for an agent cache. Specify the cache name to obtain metrics or an error for invalid types.
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 |