{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"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 agent's turn may still be in flight server-side; this frees the queue, not necessarily the agent's work. A non-running execution is a no-op that still returns 200.","properties":{"path":{"type":"object","properties":{"trigger_id":{"type":"string","examples":["b1a0c6de-1f2e-4a3b-9c8d-0e1f2a3b4c5d"],"description":"The trigger UUID."},"execution_id":{"type":"string","examples":["7c1f9e2a-3b4c-5d6e-7f80-91a2b3c4d5e6"],"description":"The execution UUID."}},"required":["trigger_id","execution_id"],"additionalProperties":false},"query":{"type":"object","properties":{"force":{"type":"boolean","examples":[false],"description":"Cancel even if the execution has not started a run yet (the worker's own dispatch may still be in flight). Without this, that case returns 409; reclaim clears it automatically within 15m regardless."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false},"name":"CancelExecution ends a running execution and frees the trigger's in-flight slot.","id":"digitalocean.harness_cancel_trigger_execution","example":{"path":{"trigger_id":"b1a0c6de-1f2e-4a3b-9c8d-0e1f2a3b4c5d","execution_id":"7c1f9e2a-3b4c-5d6e-7f80-91a2b3c4d5e6"}},"maxRequests":1,"summary":false}}