AI Tools Library page crashed and will not display

While iterating on the Custom Tool configuration for updating rows in an AppSheet app over the API, I toggled off “Show Raw JSON Schema” it crashed the page. Now when attempting to open the “AI Tools Library” view on that thunk, it crashes.

I’m unable to open that view anymore or configure any of the AI Tools settings.

hmm, will investigate today

Looks like the input schema for the tool had invalid jsonSchema (which can happen – any typo could cause it). We had code trying to parse it and the code wasn’t handling the error correctly.

Fixed in our local branch and should get deployed tomorrow. Thanks for reporting the issue

@Stefan_QREW , FYI we’re moving towards using a flat set of input properties for custom tools.
And the type system for these properties will be the same as the column types in the thunk. This makes it easy to pass values from the thunk to tool calls.
We’ll still allow the more complex json schemas, but we want to discourage this.
One of the challenges is that not all JSON schemas are supported by the LLMs. They can be rather finicky. And ideally, we want all tools running in “strict” mode for greater reliability, but that imposes further restrictions on the allowed JSON schemas.
We can make it work fine if our code is constructing the JSON schemas for the tools from the “logical” schema defined. But not if the user is defining JSON schemas directly.

That makes a lot of sense. Looking out for that update tomorrow :ok_hand:

I will opt for the more strictly defined inputs for my tools, and also try to use the AI assistant to construct the tool as well. That’s a really intriguing feature.

Thank you for the support!