ToolParametersSchema constructor
ToolParametersSchema({
- String type = 'object',
- required Map<
String, ToolParameter> properties,
Implementation
ToolParametersSchema({
this.type = 'object',
required this.properties,
}) : required = properties.entries
.where((entry) => entry.value.required)
.map((entry) => entry.key)
.toList();