train_delete_job
Delete a completed training job's record and optionally its output directory (checkpoints/samples) to clean up the Jobs view. Confirm before deletion.
Instructions
Delete an old training job's record (+ its output dir with checkpoints/samples unless keep_outputs is true) — cleanup for the Jobs view. The delivered LoRA in models/loras is NOT removed. Running/queued jobs must be cancelled first (train_cancel). Confirm with the user before deleting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job id from train_start. | |
| keep_outputs | No | Keep the job's output dir (checkpoints/samples) — delete only the record. |