Stop OMP Task
omp_cancelCancel an active OMP job by providing its job ID. This stops the delegated task immediately, terminating the child process tree safely without manual PID inspection.
Instructions
Request immediate cancellation of one exact delegated OMP job. The detached runner owns the OMP child PID and terminates that process tree safely. Call this immediately when the user asks to stop; do not inspect PIDs or manually kill processes first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| reason | No | Cancelled at the user's request |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| job_id | Yes | ||
| status | Yes | ||
| attempt | Yes | ||
| summary | No | ||
| artifacts | Yes | ||
| remaining | Yes | ||
| session_id | No | ||
| details_path | No | ||
| max_attempts | Yes | ||
| verification | Yes |