colab_poll
Poll a background job for current status and results. Retrieve execution output when complete or error details on failure.
Instructions
Poll a background job for its current status and results.
Use this after launching a background execution with colab_execute(..., background=True) to check progress and retrieve results when complete.
Interpreting the response:
status='starting' or 'running': job is in progress, poll again later.
status='completed': result field contains the execution output.
status='failed': error field describes what went wrong.
status='cancelled': job was stopped via colab_cancel.
Common issues:
Unknown job_id: use colab_jobs to list all tracked jobs.
Jobs are cleaned up automatically after 5 minutes.
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 |