toJson method
Converts the tool spec to a JSON-serializable map.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'name': name,
'description': description,
'inputJsonSchema': inputJsonSchema,
'strict': strict,
};
}