FunctionDelta

@Serializable
class FunctionDelta(val name: String? = null, val arguments: String? = null)

A partial function call carried inside a ToolCallDelta.

Constructors

Link copied to clipboard
constructor(name: String? = null, arguments: String? = null)

Properties

Link copied to clipboard

A fragment of the JSON-encoded function arguments. Concatenate fragments in arrival order (grouped by ToolCallDelta.index) to reconstruct the full arguments string, then parse as JSON.

Link copied to clipboard
val name: String?

The name of the function to call. Typically present only on the first chunk for its parent ToolCallDelta.index.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String