ToolCall

data class ToolCall(val id: String, val type: String = "function", val function: CallableFunction)(source)

Represents a tool call made by the model.

Constructors

Link copied to clipboard
constructor(id: String, type: String = "function", function: CallableFunction)

Properties

Link copied to clipboard

The function that was called.

Link copied to clipboard
val id: String

The unique identifier for this tool call.

Link copied to clipboard

The type of the tool call, always "function" for now.