Skip to content

Conversation

@tlongwell-block
Copy link
Collaborator

The analyze tool in the developer MCP extension expects numeric parameters (max_depth and follow_depth) as integers, but AI agents sometimes pass these as strings (e.g., "2" instead of 2), causing deserialization failures. This simple fix adds a flexible deserializer that accepts both formats, making the tool more forgiving and agent-friendly without changing its behavior—similar to how web forms accept both numeric and string inputs for number fields.

@tlongwell-block
Copy link
Collaborator Author

Closed in favor of #5478

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.

2 participants