Interface InputContent

All Known Implementing Classes:
AudioInputContent, DocumentInputContent, ImageInputContent, TextInputContent, VideoInputContent

Sealed interface representing a typed content part in the AG-UI protocol.

This corresponds to the AG-UI protocol's InputContent union type, covering text, image, audio, video, and document inputs.

JSON polymorphism is handled via the type discriminator field, consistent with the AG-UI protocol specification:

Since:
2026-08-01
Author:
shanhongyu
See Also: