ToolError constructor

ToolError({
  1. required String message,
  2. required String toolName,
  3. Map<String, dynamic> input = const {},
  4. String errorId = 'tool_error',
  5. String? suggestion,
})

Implementation

ToolError({
  required this.message,
  required this.toolName,
  this.input = const {},
  this.errorId = 'tool_error',
  this.suggestion,
});