Multimodal Content
data class MultimodalContent(val text: String, val images: List<AgentImage> = emptyList(), val documents: List<AgentDocument> = emptyList())
Represents multimodal content for Agent API operations. This is a higher-level abstraction over the Chat API's ContentPart system designed specifically for use in Agent actions and prompt runners.
Constructors
Link copied to clipboard
constructor(text: String, images: List<AgentImage> = emptyList(), documents: List<AgentDocument> = emptyList())