schema_explorer_cleanup_scan
Scan SingleStore schemas for leftover work tables by name pattern and age; flag recent tables as risky and save cleanup settings for the Schema Explorer panel.
Instructions
Find leftover work tables by name pattern (and age), for the Schema Explorer's Clean-up panel.
Args:
patterns: [{"pattern": "_dm*", "kind": "SAS DM"}, ...]; shell-style, case-insensitive. Omit for the saved ones.
older_than_days: Also offer every table not created/altered for this many days.
recent_days: Tables used or created this recently are flagged as risky.
save: Store these settings in ~/.singlestore-mcp/cleanup.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | ||
| patterns | No | ||
| recent_days | No | ||
| older_than_days | No |