cancel
Stop an in-flight Cursor turn for a sessionId, returning status such as killed, not-running, or not-found. Set force to kill the process after a grace period if it remains running.
Instructions
Cancel an in-flight Cursor turn by sessionId. Status is cancelled, killed, not-running (the turn ended and the session can still be resumed), or not-found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | After a short grace period, kill the Cursor process if the turn is still running. | |
| sessionId | Yes | Session id returned by delegate. |