chap.control.cancel
chap.control.cancelCancel a task that hasn't settled yet. Provide workspace, participant URI, and task ID; optionally record a reason for the audit trail. Terminal—cancelled tasks cannot be undone.
Instructions
Cancel a task. Cancelled is terminal, and a task that has already settled cannot be cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Participant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'. | |
| reason | No | Why the task was cancelled. Recorded in the audit entry. | |
| task_id | Yes | The task to cancel. A task that is completed, declined, cancelled or superseded is refused with -32061. | |
| workspace | Yes | Workspace identifier, e.g. 'wsp_techcorp_support'. |