delete_artifacts
Delete project artifacts (all or older than N days) with dry-run preview to prevent irreversible loss.
Instructions
[WRITE][risk=high] Delete a project's artifacts (all, or older than N days).
IRREVERSIBLE — reads the artifact inventory first so priorState records the file count and bytes being destroyed; no undo. Pass dry_run=True to preview (reports what would be reclaimed without deleting).
Args: project: Project id or full path. older_than_days: Only delete artifacts created before this many days ago; 0 = the server's bulk delete of all eligible artifacts. dry_run: If True, preview without deleting. target: Server target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| project | Yes | ||
| older_than_days | No |