I have a problem using any tool in my ai agent. Any tool i use just stop my entire flow

Anytime i want to use a tool for my ai agent it just stop and give me this error type
Invalid ‘tools[0].function.name’: string does not match pattern. Expected a string that matches the pattern ‘[1]+$’.

It was working perfectly and from one moment to other this happend

I am workin on the n8n online plataforme


  1. a-zA-Z0-9_- ↩︎

I think i’ve seen a topic about this on this forum and the issue was using characters for tools that were either not letters or numbers or some non-english language specific characters, do you have anything of that sort in your workflow? Could you embed your workflow here?

I just found the problem, i was using an incorrect AI model. I selected ChatGPT 4.0 mini insted of GPT-4.1-mini