factory ToolCall.fromJson(Map<String, dynamic> json) { return ToolCall(toolName: json['toolName'], toolInput: json['toolInput']); }