| return str(value) | return str(value) | ||||
| except Exception: | except Exception: | ||||
| raise ValueError(f"The tool parameter value {value} is not in correct type of {parameter_type}.") | |||||
| raise ValueError(f"The tool parameter value {value} is not in correct type.") | |||||
| class ToolParameterForm(Enum): | class ToolParameterForm(Enum): | ||||
| SCHEMA = "schema" # should be set while adding tool | SCHEMA = "schema" # should be set while adding tool |