Describe the problem/error/question
I would like to know if there is any way to force the execution of a tool by the Agent.
similar to the documentation below
- To force the model to always call one or more functions, you can set
tool_choice: "required". The model will then always select one or more function(s) to call. This is useful for example if you want the model to pick between multiple actions to perform next.- To force the model to call a specific function, you can set
tool_choice: {"type": "function", "function": {"name": "my_function"}}.- To disable function calling and force the model to only generate a user-facing message, you can either provide no tools, or set
tool_choice: "none".
Please share your workflow
Information on your n8n setup
- n8n version: 1.55.3
- Database (default: SQLite): Postgress
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu
