-
Couldn't load subscription status.
- Fork 2.4k
Description
Problem (one or two sentences)
The read_file tool documentation states that it can read "Max 15 files per request" and provides an example using the format:
<read_file>
<args>
<file>
<path>path/to/file1.py</path>
</file>
<file>
<path>path/to/file2.txt</path>
</file>
</args>
</read_file>
However, when attempting to use this format, the tool consistently fails with the error: "Missing value for required parameter 'path'".
Context (who is affected and when)
read_file tool usage for reading multiple files.
Reproduction steps
- Try to read multiple files using the documented format with and nested elements
- The tool returns an XML parsing error instead of reading the files
Expected behavior:
Expected result
The tool should read all specified files and return their contents, as documented.
Actual result
The tool fails with "Missing value for required parameter 'path'" error, indicating the XML parser doesn't recognize the documented structure.
Variations tried (optional)
The tool works correctly for single file reads using:
<read_file>
<file>
<path>path/to/file.txt</path>
</file>
</read_file>
App Version
3.29.1
API Provider (optional)
None
Model Used (optional)
ROO CODE - grok-code-fast-1
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status