cacheout_memory_intervention
Preview and execute memory reclamation on macOS. Use dry-run first to see what will be freed, then confirm to purge cache and reclaim purgeable memory.
Instructions
Execute a memory reclamation intervention on macOS.
IMPORTANT: Always call with confirm=false first to preview what will happen, then call again with confirm=true to execute.
Available interventions:
purge: Flush the Unified Buffer Cache (UBC) to reclaim purgeable memory. Works in both standalone and app modes.
trigger_pressure_warn: Manual pressure event (app only, not yet available)
reduce_transparency: Toggle transparency setting (app only, not yet available)
delete_sleepimage: Remove sleepimage file (app only, not yet available)
cleanup_snapshots: Clean orphaned APFS snapshots (app only, not yet available)
flush_compositor: Display mode toggle (app only, not yet available)
In standalone mode, only 'purge' is supported. In app mode, only 'purge' is currently wired; other interventions will unlock as the CLI surface grows.
The response always includes a capabilities map showing which
interventions are available in the current mode.
Args: params: intervention_name, confirm flag, and optional target_pid.
Returns: str: JSON envelope with mode, capabilities, data, partial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |