continuedev / continuedev/continue
tool calling (re)design
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Before submitting your bug report
- I've tried finding an answer on the Continue docs site
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
Description
Ok I have been struggling quite some time with tool calling and optimizing my own tools and even creating tool names that should catch hallucinated tool names.
First of I assume this error[1] comes from continue:
fs_delete failed because the arguments were invalid, with the following message: Tool fs_delete not found
Please try something else or request further instructions.
fs_grep failed because the arguments were invalid, with the following message: Tool fs_grep not found
Please try something else or request further instructions.
-
This should not come from continue but from the mcp. How can the mcp ever advise the model to try different command. This is frustrating tool calls because the model can't learn from the results.
-
I think there is something wrong with internal tools. I have the impression that they are still send in the context even if they are disabled. I have strange hallucinations constantly about ls, grep. I do not have these tools (enabled).
-
Even this error message is bad, why even mentioning "the arguments are invalid" it will only stimulate the model in trying with different arguments.
-
I would not be surprised if you have also errors in sending strings instead of numbers in some tool arguments
[1]
https://github.com/search?q=repo%3Acontinuedev%2Fcontinue+%22Please+try+something+else+or+request+further+instructions.%22&type=code
https://github.com/search?q=repo%3Acontinuedev%2Fcontinue+%22because+the+arguments+were+invalid%22&type=code
PS feature request gives 404
https://github.com/continuedev/continue/discussions
To reproduce
No response
Log output
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, entry points, or reproduction steps are named. Start by tracing how Continue formats MCP tool errors and sends enabled tools to the model, then investigate the reported fs_delete/fs_grep messages and argument types. Done should include an agreed redesign covering error wording, disabled-tool exposure, and argument serialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100