In Zod 4, _def.defaultValue is the value itself, not a function. This was causing 'curr._def.defaultValue is not a function' error when the debug dashboard tried to extract tool definitions.
In Zod 4, _def.defaultValue is the value itself, not a function. This was causing 'curr._def.defaultValue is not a function' error when the debug dashboard tried to extract tool definitions.