cache_health
Assess cache health by retrieving detailed metrics. Depending on cache type, view semantic category breakdowns with uncertain hit rates or agent tool breakdowns.
Instructions
Detailed health for a single cache. Response branches by type: semantic_cache reports category_breakdown + uncertain_hit_rate; agent_cache reports tool_breakdown.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cache_name": "<cache_name>"
},
"name": "cache_health"
}
}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 |