cancel
Cancel active delegated runs by specifying a delegation ID, a thread ID, or neither to cancel all. Waits for runs to end and returns status: cancelled, nothing-active, or not-found.
Instructions
Cancel active runs. delegationId selects one (announced in progress before spawn — the only handle if a run wedges at startup), threadId all on its thread, neither all. Waits for settlement; if a process tree survives the kill deadline, it still returns and the delegate result warns. Status: cancelled, nothing-active, or not-found (no active run with this ID).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | No | ||
| delegationId | No |