ChatResultToolCall

@Serializable
data class ChatResultToolCall(val id: String? = null, val type: String? = null, val index: Int? = null, val function: FunctionCall? = null, val custom: ChatCustomCall? = null)

Function/custom call; optional fields support incremental streaming updates.

Constructors

Link copied to clipboard
constructor(id: String? = null, type: String? = null, index: Int? = null, function: FunctionCall? = null, custom: ChatCustomCall? = null)

Properties

Link copied to clipboard
val custom: ChatCustomCall? = null

Custom call payload.

Link copied to clipboard
val function: FunctionCall? = null

Function call payload.

Link copied to clipboard
val id: String? = null

Call ID.

Link copied to clipboard
val index: Int? = null

Streaming call index.

Link copied to clipboard
val type: String? = null

Call kind.