cancel_job
Cancels a running ServiceNow background job, stops waiting immediately, and requests instance-side cancellation where supported; completed work is not rolled back.
Instructions
Cancel a running background job. NowAIKit stops waiting at once and, where ServiceNow has a cancel API (ATF suite runs through CI/CD, flows), asks the instance to stop too. Work ServiceNow has already done is not rolled back.
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": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The job_id to cancel |