ToolResult constructor

const ToolResult({
  1. required String toolName,
  2. required bool success,
  3. dynamic output,
  4. String? error,
  5. Map<String, dynamic> metadata = const {},
  6. DateTime? executedAt,
})

Implementation

const ToolResult({
  required this.toolName,
  required this.success,
  this.output,
  this.error,
  this.metadata = const {},
  DateTime? executedAt,
}) : executedAt = executedAt;