cacheout_get_recommendations
Retrieve predictive memory health recommendations from the Cacheout engine, covering compressor degradation, swap pressure, high-growth processes, and agent memory pressure.
Instructions
Get predictive memory recommendations from the Cacheout engine.
Returns advisory recommendations about memory health, including compressor degradation, swap pressure, high-growth processes, Rosetta-translated processes, and agent memory pressure.
Mode-dependent behavior:
socket: Full recommendations from daemon (all 7 types when conditions apply)
app: Snapshot-only recommendations from CLI (no trend-based types)
standalone: Basic recommendations from sysctl (compressor_low_ratio, swap_pressure only)
The partial flag in _meta indicates degraded results:
Always true in app/standalone modes (no trend data)
True in socket mode only when daemon's process scan was incomplete
Returns: str: JSON with recommendations array and _meta. { "recommendations": [ { "type": "compressor_low_ratio", "message": "Compression ratio 1.5 is below 2.0", "process": null, "pid": null, "impact_value": 1.5, "impact_unit": "ratio", "confidence": "low", "source": "standalone" } ], "_meta": { "mode": "standalone", "count": 1, "partial": true, "source": "standalone" } }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |