Skip to main content

new_request_input_event

Function new_request_input_event 

Source
pub fn new_request_input_event(
    ctx: &InvocationContext,
    req: RequestInput,
) -> Event
Expand description

An event that pauses the workflow for human input. An empty interrupt id gets a fresh platform UUID; when the provider returns an empty string a random UUID is used, so the key is never empty. The request rides as a long-running adk_request_input function call whose id is the interrupt id.