ToolCall constructor
Creates a call. id is generated when omitted.
Implementation
ToolCall({required this.name, required this.arguments, String? id})
: id = id ?? 'call_${_uuid.v4().replaceAll('-', '').substring(0, 24)}';
Creates a call. id is generated when omitted.
ToolCall({required this.name, required this.arguments, String? id})
: id = id ?? 'call_${_uuid.v4().replaceAll('-', '').substring(0, 24)}';