OptionalinterruptThe interrupt id (usually a function-call id). Auto-generated if omitted.
OptionalmessageA message to display to the user when requesting input.
OptionalpayloadCustom payload provided for resuming.
OptionalresponseThe expected shape of the reply (Zod v3/v4 or genai Schema).
It tells a client what to collect — the dev UI renders a form from it — and a structured reply is checked against it on resume. Nothing coerces a human's answer into the shape: a plain-text reply is routed to the interrupt as-is and is not checked, so put an agent node after the pause if you need free text normalized.
Parameters for constructing a RequestInput.