How Do You Force Calling the Vector Store Tool?

Everytime I test the workflow, this situation happens:

  1. Mostly, the Agent didn’t call the Vector Store Tool, even when I have adjust the description and prompt the agent and the vector store tool.

  2. If I delete the Slack and Airtable tool, THEN the Vector Store Tool will be call out consistently.

Is there a way to do a layer routing so the Agent will be forced to call the Vector Store Tool first everytime? Or is there any prompt that can solve this?

Here’s the framework:


I’m not coming from a technical background, so I have no idea what to fill this n8n version info. All I know is that my n8n is self hosted (got help from a friend)

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:
1 Like

Try saying something like:

Start by retrieving information from the Vector Store. Then do XYZ…

If you explain the steps, it might be more consistent.

Let me know if this works.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.