cleanup_sessions
Remove stale, inactive terminal sessions to clear accumulated tabs. Set a threshold in minutes and optionally close the corresponding terminal 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) |