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
| Name | Type | Description |
|---|---|---|
trigger_id required | string | The trigger UUID. |
execution_id required | string | The execution UUID. |
force | boolean | Cancel 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:
{
"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:
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 ….