FunctionTool constructor

const FunctionTool({
  1. required String name,
  2. String description = '',
  3. Map<String, dynamic> parameters = const {'type' : 'object', 'properties' : <String, dynamic>{}},
})

Creates a declaration.

Implementation

const FunctionTool({
  required this.name,
  this.description = '',
  this.parameters = const {
    'type': 'object',
    'properties': <String, dynamic>{}
  },
});