ToolCall
classin packageklyn.llm
public class ToolCall extends Object:
└ ToolCall
Tool call requested by an LLM provider.
Properties
Modifier and Type Member Description
public readonly property arguments
arguments as Map<String, Object>
Decoded arguments.
public readonly property id
id as String
Provider-side call identifier.
public readonly property name
name as String
Requested tool name.
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public ToolCall
ToolCall(id as String, name as String, arguments as Map<String, Object> = null):
Creates a tool call.
Methods
Modifier and Type Member Description
public override toString
toString() as String:
No summary.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml