SendMessage.toolError constructor

const SendMessage.toolError({
  1. required String error,
  2. required String toolCallId,
  3. String? code,
  4. String? content,
  5. String? customSessionId,
  6. String? level,
  7. String? toolType,
})

Implementation

const factory SendMessage.toolError({
  required String error,
  required String toolCallId,
  String? code,
  String? content,
  String? customSessionId,
  String? level,
  String? toolType,
}) = ToolErrorMessage;