# Package-level declarations

## Types

AfterAgentCallback
Link copied to clipboard
interface AfterAgentCallback : Callback

Callback invoked after an agent runs.

AfterModelCallback
Link copied to clipboard
interface AfterModelCallback : Callback

Callback invoked immediately after a model call has completed.

AfterRunCallback
Link copied to clipboard
interface AfterRunCallback : Callback

Callback executed after an ADK runner run has completed.

AfterToolCallback
Link copied to clipboard
interface AfterToolCallback : Callback

Callback invoked immediately after a tool has finished execution.

BeforeAgentCallback
Link copied to clipboard
interface BeforeAgentCallback : Callback

Callback invoked before an agent starts running.

BeforeModelCallback
Link copied to clipboard
interface BeforeModelCallback : Callback

Callback invoked immediately before a model (LLM) call is made.

BeforeRunCallback
Link copied to clipboard
interface BeforeRunCallback : Callback

Callback executed before the ADK runner runs.

BeforeToolCallback
Link copied to clipboard
interface BeforeToolCallback : Callback

Callback invoked immediately before a tool is executed.

Callback
Link copied to clipboard
interface Callback

Base interface for all callbacks in the ADK.

CallbackChoice
Link copied to clipboard
sealed interface CallbackChoice<out ContinueT, out BreakT>

A generic callback choice type for callbacks.

OnEventCallback
Link copied to clipboard
interface OnEventCallback : Callback

Callback executed after an event is yielded from runner.

OnModelErrorCallback
Link copied to clipboard
interface OnModelErrorCallback : Callback

Callback invoked when a model encounters an error.

OnToolErrorCallback
Link copied to clipboard
interface OnToolErrorCallback : Callback

Callback invoked when a tool encounters an error.

OnUserMessageCallback
Link copied to clipboard
interface OnUserMessageCallback : Callback

Callback executed when a user message is received before an invocation starts.