AgentDescription constructor

AgentDescription({
  1. required String name,
  2. required Map<String, dynamic>? inputSchema,
  3. Map<String, dynamic>? outputSchema,
  4. required String description,
  5. required String title,
  6. List<Requirement>? requires,
  7. required bool supportsTools,
  8. List<String>? labels,
})

Implementation

AgentDescription({
  required this.name,
  required this.inputSchema,
  this.outputSchema,
  required this.description,
  required this.title,
  List<Requirement>? requires,
  required this.supportsTools,
  List<String>? labels,
}) : requires = List<Requirement>.of(requires ?? const <Requirement>[]),
     labels = List<String>.of(labels ?? const <String>[]);