Core content types equivalent to Google's genai SDK types.
Provides Content, Part, FunctionCall, FunctionResponse, and Blob structs used throughout the ADK for representing LLM interactions.
Summary
Functions
Extracts all function calls from a Content struct.
Extracts all function responses from a Content struct.
Returns true if the content contains any function calls.
Returns true if the content contains any function responses.
Functions
@spec function_calls(ADK.Types.Content.t()) :: [ADK.Types.FunctionCall.t()]
Extracts all function calls from a Content struct.
@spec function_responses(ADK.Types.Content.t()) :: [ADK.Types.FunctionResponse.t()]
Extracts all function responses from a Content struct.
@spec has_function_calls?(ADK.Types.Content.t()) :: boolean()
Returns true if the content contains any function calls.
@spec has_function_responses?(ADK.Types.Content.t()) :: boolean()
Returns true if the content contains any function responses.