Cancel Job
cancel_jobStop a stuck or unwanted running command by killing its process inside a Docker sandbox. If the job already finished, it returns the final state unchanged.
Instructions
Stop a running command and kill its process inside the sandbox.
USE THIS when a command is clearly stuck or no longer needed. Safe on a job that already finished -- it returns the final state untouched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id to cancel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| job_id | Yes | ||
| status | Yes | ||
| stderr | No | ||
| stdout | No | ||
| command | Yes | ||
| exit_code | No | ||
| duration_ms | No | ||
| experiment_id | Yes | ||
| stderr_truncated | No | ||
| stdout_truncated | No |