Minor Bug in Tool Builder JSON Schema
Mark Freedman
Hey Vapi team,
Quick heads up — I ran into a validation error when saving a tool with a simple date string parameter. The error was:
Form has validation errors: function.parameters.type: Invalid literal value
I was using the Visual Editor, and when I switched to JSON mode, I saw that "type": "object" was missing from the top level. Manually adding it fixed the issue.
Could be helpful if the editor added that automatically, or at least gave a heads-up in JSON view. Just a small UX thing, but it threw me off for a bit.
Thanks! Loving Vapi so far.
– Mark Freedman
PromptMosis