Home / Servers / DigitalOcean API / harness_cancel_trigger_execution

CancelExecution ends a running execution and frees the trigger's in-flight slot.

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

CancelExecution ends a running execution and frees the trigger's in-flight slot. Fails the execution and frees the trigger's in-flight slot. A fresh-mode session is destroyed outright. A reuse-mode session is only paused, not stopped - harness has no run-interrupt call, so the… [POST /v2/agents/triggers/{trigger_id}/executions/{execution_id}/cancel]

Name on the gateway: digitalocean_api__harness_cancel_trigger_execution · may change things.

Parameters

NameTypeDescription
trigger_id requiredstringThe trigger UUID.
execution_id requiredstringThe execution UUID.
forcebooleanCancel even if the execution has not started a run yet (the worker's own…

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:

call_tool arguments
{
  "name": "digitalocean_api__harness_cancel_trigger_execution",
  "arguments": {
    "trigger_id": "…",
    "execution_id": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
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 cancelexecution ends a running execution and frees the trigger's in-flight slot. tool with trigger_id set to ….

More from DigitalOcean API