job_cancel
Cancels a queued or running job and records the provided reason as a timeline event, so you can stop work and keep an audit trail.
Instructions
queued/running -> cancelled; the reason is recorded as a timeline event.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id from job_enqueue/job_list, e.g. 'j-1a2b3c4d' | |
| reason | No | Why it was cancelled (recorded on the timeline) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| links | No | ||
| phase | No | ||
| title | Yes | ||
| events | No | ||
| origin | No | Who asked for this run (human | agent | driver | eval | probe | warmup) — scopes the learning loop | agent |
| params | No | Intake: purpose, expected, caps, flags, pending_shot, ... | |
| status | Yes | ||
| target | Yes | ||
| worker | No | ||
| host_id | No | NULL = not yet assigned (host_choice='ask') | |
| summary | No | Present once the job is closed out | |
| web_url | No | Absolute URL of this job's page in the web UI | |
| position | No | ||
| artifacts | No | ||
| created_at | Yes | ||
| project_id | No | ||
| started_at | No | ||
| updated_at | Yes | ||
| crash_count | No | crash-level events (the queue board flags these) | |
| error_count | No | error-level events (the queue board flags these) | |
| finished_at | No | ||
| current_step | No | The step awaiting a verdict (newest prompt event + whether it is answered) | |
| requested_by | No |