Sweep Idle Sessions
session_sweepFinalize stale sessions idle for at least 24 hours by marking them aborted or max-rounds, and optionally purge old corrupt quarantine entries.
Instructions
Finalize unfinished sessions whose metadata has been idle for at least 24 hours. The terminal reason accepts at most 200 characters. v3.7.5 (B1): opt-in prune_corrupt also removes stale entries from the corrupt_sessions/ quarantine directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caller | No | operator | |
| reason | No | stale | |
| outcome | No | aborted | |
| idle_minutes | No | ||
| prune_corrupt | No | ||
| response_format | No | json | |
| corrupt_min_age_days | No |