| Error | Function tools with reasoning_effort are not supported for gpt-6-luna in /v1/chat/completions. To use function tools, use /v1/responses or set reasoning_effort to 'none'. (model name varies) |
|---|---|
| Who sends it | Azure / OpenAI, when a request has function tools and reasoning on, through Chat Completions |
| Seen with | gpt-6-luna, gpt-6.1-sol (Azure), gpt-5.6-sol (OpenAI-compatible proxy), GPT-6 Luna and Astra (Microsoft Foundry) |
| Fix in workflows | Microsoft Foundry endpoint type + Use Responses API on a new chat model node, n8n 2.43.0 or later (#39403) |
| Still open | Standalone Agents / Agent Builder with Microsoft Foundry GPT-6 (#46478, n8n 3.4.1) |
| Reports | 4 people on GitHub, 27 Aug to 4 Dec 2026 (#37232, #40862, #46478) |
| Checked | 5 Dec 2026, against the sources listed below |
Fix it in a workflow (AI Agent + chat model node)
- Update to n8n 2.43.0 or later. An n8n engineer in #40862: "We've closed this feature gap in 2.43.0 (#39403)".
- Edit the Azure credential: Endpoint Type = Microsoft Foundry, Endpoint =
https://<resource>.services.ai.azure.com/openai/v1. n8n's credential docs: "Some Chat Model node features need the Microsoft Foundry endpoint type: the deployment list, Claude models, and the Responses API." Classic is for*.openai.azure.comresources. - Turn on Use Responses API in the chat model node. n8n's node docs: Off (default) calls Chat Completions; On "calls the Responses API". Keep the same model (deployment).
- Don't see the switch? n8n's docs: "Workflows created before these changes keep the Model (Deployment) Name text field and use Chat Completions. Create a new node to use the deployment list and the Use Responses API setting."
The reporter of #40862, after making these changes: "everything works fine for me, so the previous problem is resolved."
Why "set reasoning_effort to none" isn't a way out
A user's direct API tests on Azure in #40862: with function tools on Chat Completions, gpt-6.1-sol fails with or without reasoning_effort, and rejects none ('reasoning_effort' does not support 'none' with this model. Supported values are: 'low', 'medium', 'high', and 'xhigh'.); gpt-6-sol works only with none. The Responses API with tools and reasoning.effort: medium returned 200. So the Responses API is the route that keeps both tools and reasoning.
Other places it shows up
| Where | Status |
|---|---|
| Standalone Agents (Agents tab / Agent Builder) with a Microsoft Foundry GPT-6 deployment, n8n 3.4.1 | Open (#46478). The reporter found no option there to switch to the Responses API or set reasoning to none; the same credential works with a GPT-5.6 deployment. |
| n8n Assistant with an OpenAI credential on a custom URL (for example a proxy or Langdock) | Fixed by PR #45703, merged 2 Dec 2026: that route now tries /responses first and falls back to /chat/completions. It isn't in a release note yet as of 5 Dec. |
| Instance AI with an OpenAI-compatible proxy, n8n 2.36.x | Closed (#37232). The reporter notes that N8N_INSTANCE_AI_THINKING_ENABLED=false only leaves reasoning_effort out, and GPT-5.6 then reasons by default and still rejects the call. |
Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review
FAQ
How do I fix 'Function tools with reasoning_effort are not supported' in n8n?
On n8n 2.43.0 or later, set the Azure credential's Endpoint Type to Microsoft Foundry with the services.ai.azure.com/openai/v1 endpoint, and turn on Use Responses API in a new chat model node.
Why can't I find Use Responses API in my node?
n8n's docs say nodes created before the change keep the old deployment name field and Chat Completions. Add a new chat model node.
Can I set reasoning_effort to none instead?
Only for some models. One user's Azure tests show gpt-6.1-sol rejects 'none'. The Responses API keeps tools and reasoning.
Does it work in n8n's standalone Agents?
Not yet: #46478 (n8n 3.4.1) is open, and the reporter found no Responses API option there.
Related errors
- n8n Assistant: Type validation failed (chat.completion.chunk)
- OpenAI API error 400, 500 and 503
- n8n: Task request timed out (Code node not matched to a runner)
Sources
Read 5 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.
- n8n-io/n8n #40862 (AI Agent + Azure; n8n's fix steps; reporter confirms): github.com/n8n-io/n8n/issues/40862
- n8n-io/n8n #46478 (standalone Agents, Microsoft Foundry GPT-6, open): github.com/n8n-io/n8n/issues/46478
- n8n-io/n8n #37232 (Instance AI, OpenAI-compatible proxy): github.com/n8n-io/n8n/issues/37232
- n8n PR #45703 (Assistant: Responses API for custom OpenAI endpoints): github.com/n8n-io/n8n/pull/45703
- n8n docs: Microsoft Foundry credentials (Endpoint Type, endpoint URL): docs.n8n.io/integrations/builtin/credentials/azureopenai/
- n8n docs: Microsoft Foundry Chat Model node (Use Responses API, older nodes): docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.lmchatazureopenai/
- Exposed API key checker: find API keys committed to a repo or shipped to the browser
- MCP config checker: scan your mcp.json for hard-coded tokens, unpinned servers and risky access
- LLM API cost checker: find LLM calls with no limits or retries capped