Function Call in AI Agent

Hello,
I am trying to implement OpenAI Function Call in N8N.
There is OpenAI Functions Agents in N8N, but I am not sure how to use it?
What is different it from AI tool Agent.
How to define function?

Hi @Denys_Yudin

We’re currently simplifying the use of our AI Agent and if you’re using a newer version of n8n you will notice that we only have one Agent to chose, that is basically set up to do function calling using n8n nodes as tools.

Hi @ria
Sorry.
I am not sure what you mean…
You said, set up Agent to do function calling using N8N nodes as tools.
It mean when I connect N8N nodes with Agent, they will call tools?
What is different it from AI tools Agent?

“function calling” is a more general term in the whole AI space. In n8n we are using this principle under the hood with a more enhanced implementation by allowing users to add our nodes as tools that can then be called by the agent.

I wouldn’t worry so much about the actual definitions, what matters is that you can just

Yes, you just need to click on the + under tools and add what you want the agent to use. Please make sure to give clear descriptors of the tools in their configuration so the agent understands what they do. And also clear instructions to the agent about what you expect from it.

1 Like