kill_job
Terminate a running pipeline job by its pipeline token, interrupting the job thread and marking it cancelled; if approval is required, it returns a pending approval ID instead.
Instructions
Kill a running pipeline job by its pipeline token. The job thread will be interrupted and the job marked as cancelled. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status pending_approval with an approvalId. Tell the user it is waiting for approval in Datris, then poll get_approval with that id (pause with wait_seconds between polls) — do not re-issue the action.
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": {
"pipeline_token": "<pipeline_token>"
},
"name": "kill_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional one-line reason for this change, recorded in the platform's audit log and shown to anyone asked to approve it. | |
| pipeline_token | Yes | Pipeline token of the running job to kill |