Tool validation error: array type must have items in mcp_razorpay-remo_fetch_all_instant_settlements #40
Tsaihemanth150
started this conversation in
General
Replies: 2 comments
-
getting the same error |
Beta Was this translation helpful? Give feedback.
0 replies
-
@liveaspankaj @liveaspankaj @kumarishan @bindian0509 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I’m encountering an error while trying to run the tool mcp_razorpay-remo_fetch_all_instant_settlements. The error message is:
Failed to validate tool mcp_razorpay-remo_fetch_all_instant_settlements: Error: tool parameters array type must have items. Please open a Github issue for the MCP server or extension which provides this tool.
Steps to reproduce:
Install the extension / tool:
npm install -g mcp-remote
Run the tool or trigger validation
Observe the error above
My environment:
Using Vs code Agent mode
OS: Windows
Node.js version: v22.16.0
NPX version : 10.9.1
Additional info:
It seems like the tool definition in the extension is missing the items property for an array parameter in its JSON schema. Example of the likely issue:
{
"type": "array"
}
…but it should be:
{
"type": "array",
"items": {
"type": "string"
}
}
Could you please help fix this schema definition or advise on how to work around it?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions