Skip to content
Developer Preview

UserInputCancelParams

userInput/cancel params: decline to answer; the tool call resolves with a cancelled result the model sees.

  • commandId
  • reason
  • sessionId
  • userInputId
Source

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

{
"description": "`userInput/cancel` params: decline to answer; the tool call\nresolves with a cancelled result the model sees.",
"properties": {
"commandId": {
"description": "The idempotency handle (UUIDv7).",
"type": "string"
},
"reason": {
"description": "Why the prompt was declined.",
"type": "string"
},
"sessionId": {
"description": "The target session.",
"type": "string"
},
"userInputId": {
"description": "The prompt being declined.",
"type": "string"
}
},
"required": [
"commandId",
"sessionId",
"userInputId"
],
"type": "object"
}