Skip to main content

//clika-runtime/io.clika.modelverse/ToolCall

ToolCall

[common]
data class ToolCall(val id: String, val name: String, val argumentsJson: String)

One call a reply made: the function's name and its arguments as JSON text (argumentsJson); id names the call for its result (ChatSession.addToolResult), empty when the model's format wrote none (a ChatSession mints call_<n>).

Constructors​

ToolCall[common]
constructor(id: String, name: String, argumentsJson: String)

Properties​

NameSummary
argumentsJson[common]
val argumentsJson: String
id[common]
val id: String
name[common]
val name: String