Uses of Class
com.google.adk.agents.CallbackContext
Packages that use CallbackContext
-
Uses of CallbackContext in com.google.adk.agents
Methods in com.google.adk.agents with parameters of type CallbackContextModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> Callbacks.AfterAgentCallback.call(CallbackContext callbackContext) Async callback after agent runs.Optional<com.google.genai.types.Content> Callbacks.AfterAgentCallbackSync.call(CallbackContext callbackContext) io.reactivex.rxjava3.core.Maybe<LlmResponse> Callbacks.AfterModelCallback.call(CallbackContext callbackContext, LlmResponse llmResponse) Async callback after LLM response.Callbacks.AfterModelCallbackSync.call(CallbackContext callbackContext, LlmResponse llmResponse) io.reactivex.rxjava3.core.Maybe<com.google.genai.types.Content> Callbacks.BeforeAgentCallback.call(CallbackContext callbackContext) Async callback before agent runs.Optional<com.google.genai.types.Content> Callbacks.BeforeAgentCallbackSync.call(CallbackContext callbackContext) io.reactivex.rxjava3.core.Maybe<LlmResponse> Callbacks.BeforeModelCallback.call(CallbackContext callbackContext, LlmRequest llmRequest) Async callback before LLM invocation.Callbacks.BeforeModelCallbackSync.call(CallbackContext callbackContext, LlmRequest llmRequest) -
Uses of CallbackContext in com.google.adk.tools
Subclasses of CallbackContext in com.google.adk.toolsModifier and TypeClassDescriptionclassToolContext object provides a structured context for executing tools or functions.