health
Check system health and self-heal by verifying database integrity, tool status, memory, and semaphores. Run diagnostic checks, restart for soft recovery, or clean up stale caches.
Instructions
System check + self-healing: DB integrity, tools, memory, semaphore. actions: check/restart/cleanup.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | Usage stats: calls, success rate, tokens saved | |
| action | No | check (default) / restart (soft-recover) / cleanup (prune stale caches) | |
| dry_run | No | For action='cleanup': report what would be pruned without deleting (default false). | |
| max_age_days | No | For action='cleanup': prune workspace caches not accessed within this many days (default 14). |