FunctionTool

@Serializable
@SerialName(value = "function")
data class FunctionTool(val id: ToolCallStepId, val function: FunctionToolCallStep) : ToolCallStep

Constructors

Link copied to clipboard
constructor(id: ToolCallStepId, function: FunctionToolCallStep)

Properties

Link copied to clipboard
@SerialName(value = "function")
val function: FunctionToolCallStep

The definition of the function that was called.

Link copied to clipboard
@SerialName(value = "id")
val id: ToolCallStepId

The ID of the tool call object.