Clean up old storage
clean-up-storageDelete old datasets and stores that accumulate after every run, keeping only data newer than a chosen number of days. Use dry-run mode to preview and optional name matching to clear throwaway storages safely.
Instructions
Delete datasets and stores older than keepDays. Every run creates a dataset, so these accumulate; configuration stores are never removed. Use dryRun first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "clean-up-storage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | Regular expression on the storage name. When given, only matching storages are considered and the age check is waived — useful for clearing throwaway storages created the same day as real ones. | |
| dryRun | No | ||
| keepDays | No |