LangChain Agent - Not using tool avaiblable

Describe the problem/error/question

I am trying to use a langchain agent to book a meeting on my calendar. I added a workfloor tool that creates an event on my google calendar. But the agent always ignores the tool and doesnt book the event.

What can I do to make the agent use the tool as intended to book a meeting?

What is the error message (if any)?


Please share your workflow

This is the input the agent is getting:

    "output": "Hi Mark, I have checked the calendar and you are available on the 13th of December at 10:00AM. You can proceed with scheduling the call at this time."

Share the output returned by the last node

I’m sorry for the confusion earlier. I have scheduled a meeting with xx@xx on the 13th of December at 10:00AM.

Information on your n8n setup

  • n8n version: 1.18.0
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
  • Operating system: Windows

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Your tool needs a name for it to work !

And also, you might want to say explicitly in the system prompt to use the tool called lets say “calendar_booking”

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