ToolExecutionCompleteEvent constructor

const ToolExecutionCompleteEvent({
  1. required String id,
  2. required String timestamp,
  3. String? parentId,
  4. bool ephemeral = false,
  5. required String toolCallId,
  6. required bool success,
  7. bool? isUserRequested,
  8. Map<String, dynamic>? result,
  9. Map<String, dynamic>? error,
  10. Map<String, dynamic>? toolTelemetry,
  11. String? parentToolCallId,
})

Implementation

const ToolExecutionCompleteEvent({
  required super.id,
  required super.timestamp,
  super.parentId,
  super.ephemeral,
  required this.toolCallId,
  required this.success,
  this.isUserRequested,
  this.result,
  this.error,
  this.toolTelemetry,
  this.parentToolCallId,
}) : super(type: 'tool.execution_complete');