LlmToolCall

@Serializable
data class LlmToolCall(val id: String? = null, val name: String, val arguments: JsonObject)

A single tool-call request emitted by the LLM.

Constructors

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

Properties

Link copied to clipboard
val arguments: JsonObject

Parsed JSON arguments object. Use the kotlinx.serialization JsonObject directly to avoid imposing a fixed value type.

Link copied to clipboard
val id: String?

Provider-supplied call identifier, when present.

Link copied to clipboard

Tool name as the LLM addressed it.