Skip to content
Developer Preview

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.

  • commandId
  • sessionId
  • turnId
Source

schema/msp/experimental/msp.schema.json#/types/TurnCancelParams

{
"description": "`turn/cancel` params: plain cancellation on the normal command\nlane. Same shape as `turn/interrupt`, **without** `retract` — pairing a\nretract with a plain cancel is durably rejected `not_paired_interrupt`.",
"properties": {
"commandId": {
"description": "The idempotency handle (UUIDv7).",
"type": "string"
},
"sessionId": {
"description": "The target session.",
"type": "string"
},
"turnId": {
"description": "The exact turn to cancel; omit to target the current foreground turn.",
"type": "string"
}
},
"required": [
"commandId",
"sessionId"
],
"type": "object"
}