colab_cancel
Cancel an active background job to release Colab GPU resources. Use colab_jobs to find job IDs, then cancel and verify with colab_poll.
Instructions
Cancel an active background job.
Marks the job as cancelled and attempts to cancel the underlying asyncio task. Use colab_jobs to find active job IDs.
After cancellation:
Verify with colab_poll(job_id) that the status is 'cancelled'.
The Colab runtime is released automatically.
You can then start a new background job with colab_execute.
Common issues:
Cannot cancel a job that is already completed, failed, or cancelled.
Use colab_jobs first if you don't have the job_id.
Args: job_id: The job identifier returned by colab_execute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |