Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Error fixes / Function tools with reasoning_effort not supported
Fix · n8n AI Agent · Azure OpenAI · Microsoft Foundry

n8n: Function tools with reasoning_effort are not supported in /v1/chat/completions

Fix (AI Agent node, n8n 2.43.0+): in the Azure credential set Endpoint Type to Microsoft Foundry and the Endpoint to https://<resource>.services.ai.azure.com/openai/v1, then turn on Use Responses API in the chat model node. The reporter of #40862 confirmed it works. Older nodes don't show the setting: add a new chat model node. The standalone Agents tab has no such switch yet (#46478).

At a glance
ErrorFunction 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 itAzure / OpenAI, when a request has function tools and reasoning on, through Chat Completions
Seen withgpt-6-luna, gpt-6.1-sol (Azure), gpt-5.6-sol (OpenAI-compatible proxy), GPT-6 Luna and Astra (Microsoft Foundry)
Fix in workflowsMicrosoft Foundry endpoint type + Use Responses API on a new chat model node, n8n 2.43.0 or later (#39403)
Still openStandalone Agents / Agent Builder with Microsoft Foundry GPT-6 (#46478, n8n 3.4.1)
Reports4 people on GitHub, 27 Aug to 4 Dec 2026 (#37232, #40862, #46478)
Checked5 Dec 2026, against the sources listed below

Fix it in a workflow (AI Agent + chat model node)

  1. Update to n8n 2.43.0 or later. An n8n engineer in #40862: "We've closed this feature gap in 2.43.0 (#39403)".
  2. 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.com resources.
  3. 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).
  4. 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

WhereStatus
Standalone Agents (Agents tab / Agent Builder) with a Microsoft Foundry GPT-6 deployment, n8n 3.4.1Open (#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.xClosed (#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

Sources

Read 5 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.

Related free tools