diff --git a/client/src/components/ToolsTab.tsx b/client/src/components/ToolsTab.tsx index a8e31c59..c9825983 100644 --- a/client/src/components/ToolsTab.tsx +++ b/client/src/components/ToolsTab.tsx @@ -252,13 +252,19 @@ const ToolsTab = ({ [key]: undefined, }); } else { - // Field has value - convert to number (never store strings) + // Field has value - try to convert to number, but store input either way const num = Number(value); if (!isNaN(num)) { setParams({ ...params, [key]: num, }); + } else { + // Store invalid input as string - let server validate + setParams({ + ...params, + [key]: value, + }); } } }}