Skip to content

UserInputInterruptParams

userInput/interrupt params: interrupt the named prompt carrying confirmed partial answers, then stop the turn.

answers is optional and, when present, follows exactly the userInput/answer shape and limits (same questionId + one-of + note rules, same -32057 userInputAnswerInvalid on mismatch); absent or empty means interrupt with no confirmed answers.

  • answers
  • commandId
  • sessionId
  • userInputId
Source

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

{
"description": "`userInput/interrupt` params: interrupt the\nnamed prompt carrying confirmed partial answers, then stop the turn.\n\n`answers` is optional and, when present, follows exactly the\n`userInput/answer` shape and limits (same `questionId` + one-of + `note`\nrules, same -32057 `userInputAnswerInvalid` on mismatch); absent or\nempty means interrupt with no confirmed answers.",
"properties": {
"answers": {
"description": "Confirmed partial answers the named settlement carries.",
"items": {
"$ref": "#/$defs/UserInputAnswer"
},
"type": "array"
},
"commandId": {
"description": "The idempotency handle (UUIDv7).",
"type": "string"
},
"sessionId": {
"description": "The target session.",
"type": "string"
},
"userInputId": {
"description": "The prompt being interrupted.",
"type": "string"
}
},
"required": [
"commandId",
"sessionId",
"userInputId"
],
"type": "object"
}