Skip to main content

Module types

Module types 

Source
Expand description

Core traits and types.

Always available regardless of feature flags. Includes:

  • Agent - The fundamental trait for all agents
  • Tool / Toolset - For extending agents with capabilities
  • Session / State - For managing conversation context
  • Event - For streaming agent responses
  • AdkError / Result - Unified error handling

Structs§

Content
FileDataPart
Data part for file references in a function response.
FunctionResponseData
InlineDataPart
Data part for inline binary content in a function response.

Enums§

Part

Constants§

MAX_INLINE_DATA_SIZE
Maximum allowed size for inline binary data (10 MB). Prevents accidental or malicious embedding of oversized payloads in Content parts.