ChatResultMessage
@Serializable
Complete or incremental assistant message with custom tool calls.
Constructors
Link copied to clipboard
constructor(id: String? = null, name: String? = null, contentParts: List<ChatInputPart>? = null, role: Role? = null, content: String? = null, toolCalls: List<ChatResultToolCall>? = null, annotations: List<ChatResultAnnotation>? = null, audio: ChatAudio? = null, refusal: String? = null, functionCall: FunctionCall? = null, reasoningContent: String? = null)
Properties
Link copied to clipboard
Output citations.
Link copied to clipboard
Structured content returned when stored message content is null.
Link copied to clipboard
Legacy function output when requested alongside advanced options.
Link copied to clipboard
Additional reasoning text from compatible providers.
Link copied to clipboard
Function and custom calls.