cleanup_sessions
Remove stale terminal sessions and optionally close their tabs when sessions are inactive beyond a configurable time threshold. Run periodically to clear accumulated tabs.
Instructions
Remove stale terminal sessions that have been inactive. Use periodically to clean up accumulated tabs. Sessions inactive longer than inactive_minutes (default: 30) are removed. Set close_tabs to true to also close the terminal tabs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| close_tabs | No | If true, also closes the terminal tabs for stale sessions (default: true) | |
| inactive_minutes | No | Minutes of inactivity before a session is considered stale (default: 30) |