terminate_workflow_execution
Stop a running Temporal workflow immediately. Use when you need to abort an active workflow execution and mark it as terminated.
Instructions
Terminate a running workflow execution. This immediately stops the workflow and marks it as terminated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Optional run ID. If not provided, terminates the latest run. | |
| reason | No | Reason for termination (optional) | |
| region | No | Region where the workflow is running. Defaults to "us" if not specified. | |
| workflowId | Yes | The workflow ID to terminate |