ToolCallRecord constructor

ToolCallRecord({
  1. required String callId,
  2. required String toolName,
  3. required Map<String, dynamic> arguments,
  4. FunctionExecutionResult? result,
  5. required DateTime startedAt,
  6. required DateTime endedAt,
  7. bool isError = false,
  8. String? errorMessage,
})

Implementation

ToolCallRecord({
  required this.callId,
  required this.toolName,
  required this.arguments,
  this.result,
  required this.startedAt,
  required this.endedAt,
  this.isError = false,
  this.errorMessage,
});