Skip to content
Developer Preview

userInput/cancel

Declines an open user-input prompt; the tool call resolves with a cancelled result the model sees.

Type: UserInputCancelParams

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

Field Type Stability Presence Description
commandId string required The idempotency handle (UUIDv7).
reason string optional Why the prompt was declined.
sessionId string required The target session.
userInputId string required The prompt being declined.
Source

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

{
"description": "Declines an open user-input prompt; the tool call resolves with a cancelled result the model sees.",
"params": {
"$ref": "#/$defs/UserInputCancelParams"
},
"result": {
"$ref": "#/$defs/UserInputCancelResult"
}
}