Tool constructor
const
Tool({
- String type = 'function',
- required FunctionDefinition function,
Implementation
const Tool({
this.type = 'function',
required this.function,
});