Skip to content

Conversation

@CodeWithKyrian
Copy link
Contributor

Tools with no parameters fail validation in v3.0.0 with the error: Invalid type. Expected object, but received unknown.

This is a regression from v2.x where such tools worked correctly.

Fixes #26

@CodeWithKyrian CodeWithKyrian merged commit 590aa38 into main Jun 24, 2025
8 checks passed
@CodeWithKyrian CodeWithKyrian deleted the fix/empty-params-tool-validation branch June 24, 2025 09:07
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.

McpTool without parameters fails execution

2 participants