Skip to content

[BUG] Roo is having trouble - using <args> when it’s not supposed to #8848

@sergiobank

Description

@sergiobank

Problem (one or two sentences)

First of all, thank you for the amazing work you guys put into the extension!
A small suggestion for improvement that can make a BIG impact on minimizing the “Roo is having trouble, required parameter path”.
Tested extensively on the past few weeks with Qwen3-Coder, and, as most people, received the dreaded Roo is having trouble, required parameter path not provided.
After extensive testing, can confirm that the issue mostly resides on the read_file tool, where there the XML tag is part of the syntax, whereas on other tools (write_to_file, apply_diff (simple) is not supported). Could confirm when using the simple_read_file syntax instead, the issue is mitigated.
I propose a really simple fix for it. Just as apply_diff has a toggle for editing one file at a time, that read_file should also support a toggle to turn on and off reading one file at a time (the logic is already there on the code, for example, with grok-code-fast)
This simple toggle should satisfy all those 1738439 issues that “parameter path was not provided” with a already baked in solution, effortless, that just has to be discoverable as a simple toggle.
Let me know what you guys think
Thank you very much for all the hard work!

Context (who is affected and when)

When calling write_to_file with many models

Reproduction steps

Call write to file with Qwen3-Coder

Expected result

Call suceeded

Actual result

Tool call failed because the model was confused with confusing multi file read and used when not supposed to

Variations tried (optional)

Can confirm using a less confusing read_file prompt solves the issue. Should be configurable

App Version

latest

API Provider (optional)

None

Model Used (optional)

No response

Roo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions