Skip to content

Conversation

@gdisk
Copy link

@gdisk gdisk commented Aug 4, 2025

This patch fixed an issue where string-type parameters in tool calls were incorrectly being converted to structures like dictionaries or lists.

Motivation and Context

In the pre_parse_json method of the FuncMetadata class, added type checking for parameters to skip processing when the parameter type is a string.

How Has This Been Tested?

This has been tested with the code in issues-1112

Breaking Changes

None

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

None

@gdisk gdisk requested review from a team and dsp-ant August 4, 2025 05:19
@gdisk gdisk closed this Aug 4, 2025
@gdisk
Copy link
Author

gdisk commented Aug 4, 2025

fixed in v1.12.3

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