Tool constructor

const Tool({
  1. required String name,
  2. required String description,
  3. List<ToolParameter> parameters = const [],
})

Implementation

const Tool({
  required this.name,
  required this.description,
  this.parameters = const [],
});