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 — EventType | ADK for TypeScript: API Reference - v2.5.0

  • EventType

Enumeration EventType

The types of events that can be parsed from a raw Event.

Each value corresponds to one category of structured output that toStructuredEvents may produce from a raw Event.

  • Defined in core/src/events/structured_events.ts:22

Enumeration Members

ACTIVITY

ACTIVITY: "activity"

A generic activity or status update.

  • Defined in core/src/events/structured_events.ts:38

CALL_CODE

CALL_CODE: "call_code"

A request from the model to execute code.

  • Defined in core/src/events/structured_events.ts:32

CODE_RESULT

CODE_RESULT: "code_result"

The result of a code execution.

  • Defined in core/src/events/structured_events.ts:34

CONTENT

CONTENT: "content"

A text delta intended for the end user.

  • Defined in core/src/events/structured_events.ts:26

ERROR

ERROR: "error"

A runtime error signalled via event.errorCode.

  • Defined in core/src/events/structured_events.ts:36

FINISHED

FINISHED: "finished"

The agent has produced its final response for this turn.

  • Defined in core/src/events/structured_events.ts:42

THOUGHT

THOUGHT: "thought"

A reasoning trace (thought) emitted by the model.

  • Defined in core/src/events/structured_events.ts:24

TOOL_CALL

TOOL_CALL: "tool_call"

A request from the model to execute a tool (function call).

  • Defined in core/src/events/structured_events.ts:28

TOOL_CONFIRMATION

TOOL_CONFIRMATION: "tool_confirmation"

A request for the user to confirm one or more tool calls.

  • Defined in core/src/events/structured_events.ts:40

TOOL_RESULT

TOOL_RESULT: "tool_result"

The result returned by a tool execution (function response).

  • Defined in core/src/events/structured_events.ts:30
Enumeration Members
ACTIVITYCALL_CODECODE_RESULTCONTENTERRORFINISHEDTHOUGHTTOOL_CALLTOOL_CONFIRMATIONTOOL_RESULT
You are visitor 01402792 — 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.