FunctionToolCall

data class FunctionToolCall(val id: String, val function: FunctionCall) : ToolCall

Represents a tool call for Tool.Type.FUNCTION.

Constructors

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

Properties

Link copied to clipboard

The details about which function was called, parameters, etc.

Link copied to clipboard
open override val id: String

The unique id of the tool call. You should use this id in your reply.

Link copied to clipboard
open override val type: Tool.Type

The type of tool call.