From a337af92bcbf7bd5edc69a3a627cf0cd50f5fa9c Mon Sep 17 00:00:00 2001 From: Waleed Date: Wed, 17 Dec 2025 23:38:36 -0800 Subject: [PATCH] fix(custom-tools): added missing _toolSchema to internal param set for agents calling custom tools (#2445) --- apps/sim/tools/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/sim/tools/index.ts b/apps/sim/tools/index.ts index 4061ecf1e3..34c242b3d9 100644 --- a/apps/sim/tools/index.ts +++ b/apps/sim/tools/index.ts @@ -766,6 +766,7 @@ function validateClientSideParams( // Internal parameters that should be excluded from validation const internalParamSet = new Set([ '_context', + '_toolSchema', 'workflowId', 'envVars', 'workflowVariables',