2025-09-04 13:48:44 +01:00
|
|
|
import GenericTool from '../components/tools/shared/GenericTool';
|
|
|
|
import { sanitizeDefinition } from './definitions/sanitizeDefinition';
|
|
|
|
import { BaseToolProps, ToolComponent } from '../types/tool';
|
2025-08-12 16:05:59 +01:00
|
|
|
|
2025-08-28 10:59:38 +01:00
|
|
|
const Sanitize = (props: BaseToolProps) => {
|
2025-09-04 13:48:44 +01:00
|
|
|
return <GenericTool definition={sanitizeDefinition} {...props} />;
|
2025-08-15 14:43:30 +01:00
|
|
|
};
|
2025-08-12 16:05:59 +01:00
|
|
|
|
2025-08-22 14:40:27 +01:00
|
|
|
// Static method to get the operation hook for automation
|
2025-09-04 13:48:44 +01:00
|
|
|
Sanitize.tool = () => sanitizeDefinition.useOperation;
|
2025-08-22 14:40:27 +01:00
|
|
|
|
|
|
|
export default Sanitize as ToolComponent;
|