SendMessage.toolResponse constructor

const SendMessage.toolResponse({
  1. required String content,
  2. required String toolCallId,
  3. String? customSessionId,
  4. String? toolName,
  5. String? toolType,
})

Implementation

const factory SendMessage.toolResponse({
  required String content,
  required String toolCallId,
  String? customSessionId,
  String? toolName,
  String? toolType,
}) = ToolResponseMessage;