Error in AI Tools with No Parameters: markschmucker is experiencing an issue with custom AI tools that have no parameters, which fail when used by a bot despite passing the Run Test button. The error occurs with the built-in tags tool as well, suggesting the problem is not specific to the custom tool. markschmucker believes the bot is unsure what to pass to a function with no parameters, resulting in errors.
sam acknowledged the issue and later provided an evaluation for no-parameter tools, which passed on various models, including Gemini 2.0 Flash. sam asked if markschmucker was on the latest version, as the evaluation passed.
markschmucker confirmed being on 3.5.0.beta1-dev and still thinks there’s an issue with no-parameter tools, as adding a dummy parameter “fixes” the problem. markschmucker also inquired about the location of the bot transcripts, which sam explained can be accessed by enabling the (i) icon in the post actions.
EDIT- Now I understand this happens with the built-in tags AI Tool also, not just my custom tool. Please skip ahead to my second post.
I have two custom AI Tools- one with parameters and one with no parameters. Both pass with the Run Test button. But when a bot tries to use the tools, the first one works, and the second fails with:
After a lot of experiments, I get the same errors with the built-in tags tool, so there’s nothing wrong with my custom tool. All tools that take parameters work as expected. The common thing between tags and my custom tool is that neither takes any parameters.
I believe the bot has to be pretty bright to call a function with no parameters. gpt-4o is able to use those tools with no problem. But flash 1.5 and 2.0 and haiku always fail. Sonnet usually fails but got it right once.
I’m under the impression the bots aren’t sure what to pass to a function that takes no parameters- null? An empty string? An empty object? Empty json {}?