GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — UserInputRequest | ADK for TypeScript: API Reference - v2.5.0

  • UserInputRequest

Interface UserInputRequest

A single request for user input carried by an event.

interface UserInputRequest {
    authConfig?: AuthConfig;
    author?: string;
    functionCallName: string;
    interruptId: string;
    kind: UserInputKind;
    message?: string;
    payload?: unknown;
    responseSchema?: unknown;
    toolName?: string;
}
  • Defined in core/src/agents/user_input_request.ts:36

Properties

OptionalauthConfig

authConfig?: AuthConfig

credential only: the auth config to complete.

  • Defined in core/src/agents/user_input_request.ts:68

Optionalauthor

author?: string

The node or agent that raised the request.

  • Defined in core/src/agents/user_input_request.ts:49

functionCallName

functionCallName: string

The name to answer with, alongside interruptId.

  • Defined in core/src/agents/user_input_request.ts:46

interruptId

interruptId: string

The id that answers this request: reply with a functionResponse carrying this same id (and functionCallName).

  • Defined in core/src/agents/user_input_request.ts:43

kind

kind: UserInputKind
  • Defined in core/src/agents/user_input_request.ts:37

Optionalmessage

message?: string

Human-readable prompt for the user. Populated for every kind: the RequestInput message, the credential prompt, or the tool-confirmation hint. Absent when the raiser supplied none.

  • Defined in core/src/agents/user_input_request.ts:56

Optionalpayload

payload?: unknown

Structured data attached to the request (RequestInput.payload).

  • Defined in core/src/agents/user_input_request.ts:59

OptionalresponseSchema

responseSchema?: unknown

JSON schema the reply is expected to satisfy, when declared.

  • Defined in core/src/agents/user_input_request.ts:62

OptionaltoolName

toolName?: string

confirmation only: the tool awaiting approval.

  • Defined in core/src/agents/user_input_request.ts:65
Properties
authConfigauthorfunctionCallNameinterruptIdkindmessagepayloadresponseSchematoolName
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.