> = ({
{typeof tool_configurations[key] === 'string' && (
+ {paramSchemas?.find(i => i.name === key)?.type === FormTypeEnum.secretInput ? '********' : tool_configurations[key]}
+
+ )}
+ {typeof tool_configurations[key] === 'number' && (
+
{tool_configurations[key]}
)}
diff --git a/web/app/components/workflow/nodes/tool/types.ts b/web/app/components/workflow/nodes/tool/types.ts
index 4fbd945710..4b78c53ab2 100644
--- a/web/app/components/workflow/nodes/tool/types.ts
+++ b/web/app/components/workflow/nodes/tool/types.ts
@@ -21,4 +21,5 @@ export type ToolNodeType = CommonNodeType & {
tool_parameters: ToolVarInputs
tool_configurations: Record
output_schema: Record
+ paramSchemas?: Record[]
}