Skip to content

userInput/interrupt

Interrupts an open user-input prompt carrying confirmed partial answers, then stops the turn (ADR 45450 D1).

Type: 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.

Field Type Stability Presence Description
answers UserInputAnswer[] optional Confirmed partial answers the named settlement carries.
commandId string required The idempotency handle (UUIDv7).
sessionId string required The target session.
userInputId string required The prompt being interrupted.
Source

schema/msp/experimental/msp.schema.json#/methods/userInput~2Finterrupt

{
"description": "Interrupts an open user-input prompt carrying confirmed partial answers, then stops the turn (ADR 45450 D1).",
"params": {
"$ref": "#/$defs/UserInputInterruptParams"
},
"result": {
"$ref": "#/$defs/UserInputInterruptResult"
}
}