Skip to content

Conversation

@nashjain
Copy link

The input schema of the getCollections tool was missing min and max constraints on the limit parameter. This fix aligns the schema with the actual API implementation to avoid drift between the API and MCP.

More details #58

… schema

The input schema of the getCollections tool was missing min and max constraints on the `limit` parameter. This fix aligns the schema with the actual API implementation to avoid drift between the API and MCP. Else we get the following error:

{type=text, text=MCP error -32602: API request failed: 400 {"error":{"name":"invalidParamsError","message":"The limit parameter provided is invalid. Value must be a positive integer smaller than 100.","details":{"param":"limit"}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant