Home / Servers / DigitalOcean API / inference_cancel_batch
Cancel a Batch Inference Job
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Cancel a Batch Inference Job Requests cancellation of a batch job. The job transitions to cancelling and, once in-flight requests drain, to cancelled. Jobs already in a terminal state (completed, failed, expired, cancelled)… [POST /v1/batches/{batch_id}/cancel]
Name on the gateway: digitalocean_api__inference_cancel_batch · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
batch_id required | string | The batch job identifier. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__inference_cancel_batch",
"arguments": {
"batch_id": "…"
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the cancel a batch inference job tool with batch_id set to ….