ChatTool constructor

const ChatTool({
  1. required String name,
  2. required String description,
  3. required Map<String, Object?> parameters,
  4. required ChatToolExecutor execute,
  5. bool requiresApproval = true,
})

Implementation

const ChatTool({
  required this.name,
  required this.description,
  required this.parameters,
  required this.execute,
  this.requiresApproval = true,
});