Describe the problem/error/question
The agent is loading the user context every time and passing the User ID as an input for every execution.
I tried preventing this by adding instructions to both the Agent Prompt and the Skill, but the get_current_user tool is still being triggered repeatedly.
How can we prevent the agent from calling this tool automatically and ensure it is invoked only when the user explicitly requests their profile or account details?
Also, could someone clarify whether this User ID is associated with the n8n account or whether it is fetching details of a different user from the connected application?
Any suggestions on how to fix this would be helpful.
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version:2.45.7
- Database (default: SQLite):default
- n8n EXECUTIONS_PROCESS setting (default: own, main):default
- Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
- Operating system:
