ToolCall

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

Represents a tool call made by the model.

Constructors

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

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