Hi ![]()
I ran into something odd when working with Retool Agents Evals and wanted to see if anyone else has hit this.
I’m creating a Dataset with a Test case that checks if a certain tool is used with a given input. The tool itself works as expected, but the test case still fails with this error:
400 Invalid 'tools[0].function.name': string does not match pattern.
Expected a string that matches the pattern '^[a-zA-Z0-9_-]+$'.
Here’s what I’m doing:
- Create a new dataset
- Add a test case of type Tool choice.
- Select my tool from the dropdown
- Set the input: “Find value for product with ID 39388.”
- Set the expected argument
productId = 39388. - Run the test cases in the eval
Expected: The test passes because the tool is called with the exact argument.
Actual: The UI shows the tool did run with the correct input, but the test still errors.
Would love to hear if this is a known issue or if I’m missing a setting somewhere.
Thanks!

