continuedev / continuedev/continue

tool calling (re)design

Open
#13,000 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:tools kind:bug
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
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.
  1. 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.

  2. 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).

  3. Even this error message is bad, why even mentioning "the arguments are invalid" it will only stimulate the model in trying with different arguments.

  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.