Remove a conversion job
audiobook_cancel_conversionCancel a queued or running audiobook conversion job by job ID. Optionally delete its scratch files while preserving original inputs and any delivered output.
Instructions
Remove a job from the registry. By default this only forgets the job_id (the on-disk state under out_dir/.state/ is left alone, so audiobook_start_conversion with the same mp3/epub/out_dir would still resume it). With delete_files=True, also deletes that scratch directory -- the original mp3/epub and anything already delivered into out_dir itself are never touched either way.
Args: params (CancelConversionInput): - job_id (str). - delete_files (bool): also delete the job's working directory.
Returns: str: JSON {"job_id": str, "removed_from_registry": true, "files_deleted": bool} or {"error": ...} if job_id is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |