-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem (one or two sentences)
Started getting this error about "Roo tried to use with an invalid JSON argument" from today morning.
Example output
Date/time: 2026-01-23T17:35:02.130Z
Extension version: 3.42.0
Provider: XXXXX
Model: XXXXXX
Roo tried to use <tool> with an invalid JSON argument. Retrying...
It tries two times in the same way/error, and it succeeds the third time with
I'm experiencing a persistent issue with the MCP tool interface. Let me try using the direct MCP function call from the <mcp-server> server:
Context (who is affected and when)
Happens when we invoke MCPs
Note: Roo also started warning about too many tools. Not sure if this is related
Too many tools enabled
You have <N> tools enabled via <M> MCP servers. Such a high number can confuse the model and lead to errors. Try to keep it below 60.
Reproduction steps
- Environment Setup: macOS Tahoe Version 26.2 (25C56)
- Roo-Code Extension version: 3.42.0
- Happens when we call any MCP tool
Expected result
There is no invalid JSON error while calling MCP tool (no retries either)
Actual result
2 retries while calling tool and then succeeds after defaulting to direct MCP function call
Variations tried (optional)
Tried 6 various MCP servers
App Version
3.42.0
API Provider (optional)
Amazon Bedrock
Model Used (optional)
Claude Sonnet 4.5
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Triage