prune_outputs_tool
Bulk-delete a report's saved outputs by keeping only the N newest or removing every entry gathered before a given date. Returns the count and ids deleted.
Instructions
Bulk-prune a report's saved outputs. Returns the count and ids deleted.
Give exactly one criterion: keep_last retains the N most recent outputs and deletes the rest (keep_last=0 deletes them all); before_date deletes every output gathered strictly before that date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep_last | No | Retain this many newest outputs, delete older ones | |
| before_date | No | Delete outputs gathered before this date (YYYY-MM-DD) | |
| report_name | Yes | The report whose outputs to prune |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||