ChatInputMessage
@Serializable
Advanced input message supporting multimodal content and custom tool calls.
Constructors
Link copied to clipboard
constructor(role: Role, content: ChatInputContent? = null, name: String? = null, toolCalls: List<ChatResultToolCall>? = null, toolCallId: String? = null, audio: ChatAudio? = null, refusal: String? = null, functionCall: FunctionCall? = null, reasoningContent: String? = null)
Properties
Link copied to clipboard
Plain text or structured content.
Link copied to clipboard
Legacy function call in assistant history.
Link copied to clipboard
Additional reasoning text in assistant history.
Link copied to clipboard
Call answered by a tool message.
Link copied to clipboard
Calls emitted by an assistant message.