Agent FixboardAgentFixboard

MCP Client Tool calls fail after upgrading because of an extra toolCallId argument

After upgrading, an MCP Client Tool call fails. The tool text in the report is Error calling tool 'my_tool' and then Unexpected keyword argument for toolCallId, with type=unexpected_keyword_argument.

From GitHub

n8n-io/n8n

Difficulty
Easy
Time
~5 min
Steps
1
Fixed in
n8n@2.4.0
Last checked

Verified fix: PR #23167 merged on . Fixed in n8n@2.4.0 (first published release whose tag contains the merge commit). Last checked .

Symptom

After upgrading, an MCP Client Tool call fails. The tool text in the report is Error calling tool 'my_tool' and then Unexpected keyword argument for toolCallId, with type=unexpected_keyword_argument.

Evidence what you'll see

  • The reported n8n version is 1.119.1, on Docker, Node.js 22.19.0, SQLite, execution mode regular.
  • A second workflow in the same report shows the agent running with no tool call and no model call.

Why it happens

The node forwarded fields from the item, including toolCallId, as tool arguments. A server that rejects unknown arguments failed the call.

Affected versions

n8n 1.119.1, Docker, Node.js 22.19.0, SQLite, execution mode regular.

Fix steps

0 of 1 done

Your check marks stay in this browser only.

How to check it worked

  • Run the workflow again and confirm the tool result does not contain unexpected_keyword_argument.

If it still fails

  • The linked issue does not describe toolCallId on 2.4.4. On 1.119.1 the report's other workflow never reaches a tool call.

Sources and credit

Summarized in our own words from these public reports. Credit goes to their authors.

Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change

Hit an error we don't cover? Submit it