Expand description
Core traits and types.
Always available regardless of feature flags. Includes:
Structs§
- Blob
Resource Contents - Binary contents of an embedded resource.
- Content
- A message in a conversation, consisting of a role and content parts.
- File
Data Part - Data part for file references in a function response.
- Function
Response Data - Data for a function (tool) response, including optional multimodal parts.
- Inline
Data Part - Data part for inline binary content in a function response.
- Text
Resource Contents - Text contents of an embedded resource.
Enums§
- Embedded
Resource - A complete resource embedded in a message: a source URI plus inline text or binary contents.
- Part
- A single part of a
Contentmessage.
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.