Skip to content
Developer Preview

turn/cancel

Cancels a turn on the normal command lane, recording no priority interrupt intent.

Type: TurnCancelParams

turn/cancel params: plain cancellation on the normal command lane. Same shape as turn/interrupt, without retract — pairing a retract with a plain cancel is durably rejected not_paired_interrupt.

Field Type Stability Presence Description
commandId string required The idempotency handle (UUIDv7).
sessionId string required The target session.
turnId string optional The exact turn to cancel; omit to target the current foreground turn.
Source

schema/msp/experimental/msp.schema.json#/methods/turn~2Fcancel

{
"description": "Cancels a turn on the normal command lane, recording no priority interrupt intent.",
"params": {
"$ref": "#/$defs/TurnCancelParams"
},
"result": {
"$ref": "#/$defs/TurnCancelResult"
}
}