- [Instructor] Okay, so how can we give our agent now
access to this knowledge tool?
First of all, make sure you hit save over here
so we don't lose our progress.
Then head over to the basic agent that we just built.
Here you see the option to add tools,
click this little plus icon
and then select Call n8n Workflow tool.
This allows you to use any n8n workflow as a tool.
We'll talk about the different options in n8n
to add tools later on.
For now, just bear with me for this one.
What we wanna do now is two things.
First, we want to give this agent tool a name
so we can easily find it later on.
In this case, let's call it knowledge tool,
and then let's give this tool a description.
This is important because this description will be used
by the agent to figure out when to use this tool.
In this case, it could be as straightforward as saying,
call this tool to request conference details.
As a source, make sure you select database,
and then you can pick a workflow from a list.
Select the flow knowledge tool that you have just created.
You can see that it automatically pulls in
our requested input field.
In this case, the question, if you hover over this icon,
you can see that it suggests you define this parameter
by the model.
So what this means is
that now the AI agent can define this parameter dynamically.
It means it can generate a question
and then pass this question over
to this workflow, and that's it.
Now our agent has access to this tool,
so let's close this for now
and see how well it works in action.