Cancel Batch Task Group
omp_cancel_groupImmediately cancel a running batch task group and all its child tasks by writing a cancellation request that the group coordinator handles safely.
Instructions
Request immediate cancellation of a running batch task group and its child tasks. Writes a cancellation request that the detached group coordinator handles safely. Call this immediately when the user asks to stop a batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason for cancellation | Cancelled at the user's request |
| group_id | Yes | The group_id of the batch task group to cancel |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | No | ||
| status | Yes | ||
| summary | Yes | ||
| group_id | Yes | ||
| total_tasks | Yes | ||
| failed_tasks | Yes | ||
| max_parallel | Yes | ||
| blocked_tasks | Yes | ||
| cancelled_tasks | Yes | ||
| completed_tasks | Yes |