Skip to content
Developer Preview

UserInputRequestParams

Full params shared by userInput/request and userInput/requested.

  • autoResolutionMs
  • itemId
  • questions
  • sessionId
  • sourceRange
  • toolCallId
  • toolName
  • turnId
  • userInputId
  • viewCursor
Source

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

{
"description": "Full params shared by `userInput/request` and `userInput/requested`.",
"properties": {
"autoResolutionMs": {
"type": "integer"
},
"itemId": {
"type": "string"
},
"questions": {
"items": {
"$ref": "#/$defs/UserInputQuestion"
},
"type": "array"
},
"sessionId": {
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange"
},
"toolCallId": {
"type": "string"
},
"toolName": {
"type": "string"
},
"turnId": {
"type": "string"
},
"userInputId": {
"type": "string"
},
"viewCursor": {
"type": "string"
}
},
"required": [
"itemId",
"questions",
"sessionId",
"toolCallId",
"toolName",
"turnId",
"userInputId",
"viewCursor"
],
"type": "object"
}