Symptom
In agent mode, a tool call's function.arguments is XML-like text, JSON parsing returns {}, and the call fails. The sample starts with <tool_call> and <function=ls>, then <parameter=dirPath> and src.
Evidence what you'll see
- The report's shape is
tool_calls[].function.nameoflsandtool_calls[].function.argumentsholding that XML-like text. - The issue was closed with no merged change. The local commits named in the report,
c89c2d170and5840ed876, were not pushed.
Why it happens
Argument parsing accepts JSON only. When the arguments are <parameter=name>value</parameter> text, the parse result is {} and required-argument checks fail.
Affected versions
Continue agent mode against a compatible chat endpoint that returns those XML-like arguments. The linked issue does not name a Continue version, an operating system, or a Node version.
Fix steps
0 of 2 done
Your check marks stay in this browser only.
How to check it worked
- A tool-heavy request runs the tool with
dirPathofsrc, not with{}.
If it still fails
- The linked issue does not name a release that parses those arguments. Until one does, an endpoint that still returns the
<tool_call>text will still parse as{}.
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