Skip to main contentModule types
Source - ImageUrl
- An image URL reference.
- ToolCall
- A tool call requested by the AI model.
- ContentBlock
- A block of content within a message (text, image, etc.).
- Message
- Message types for the agent system.
- MessageContent
- Content of a message - can be a simple string or structured content blocks.
- add_messages
- Merge function for messages: appends new messages to existing ones.
This is the default reducer for the
messages field in agent states. - add_messages_ref
- Merge function for messages with reference signature.