Cancel an execution task
task_cancelCancel a non-terminal task idempotently by recording intent with a stable caller-generated key; the runtime then observes the event and stops work.
Instructions
Cancel a non-terminal task idempotently. This records intent; the runtime observes the event and stops work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ||
| reason | No | ||
| task_id | Yes | ||
| idempotency_key | Yes | stable caller-generated key for safe retries | |
| expected_version | No |