ToolSpec constructor

const ToolSpec({
  1. required String name,
  2. required String description,
  3. required Map<String, dynamic> inputJsonSchema,
  4. bool strict = false,
})

The specification of a LangChain tool without the actual implementation.

Implementation

const ToolSpec({
  required this.name,
  required this.description,
  required this.inputJsonSchema,
  this.strict = false,
});