jobd_preempt
Preempt a running preemptible job by signaling its worker with SIGTERM and a grace period, moving it to 'preempted'. Refuses jobs that aren't preemptible or running.
Instructions
Preempt a running/assigned preemptible job (worker SIGTERMs with grace; final state 'preempted'). Refused if not preemptible or not running.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "<job_id>"
},
"name": "jobd_preempt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |