Skip to content

fix: rename input_schema to inputSchema to match expected key #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chutongren
Copy link

Provide a brief summary of your changes

Fix typo in key name from input_schema to inputSchema in mcp-client-typescript/index.ts to match the expected key.

Motivation and Context

The original key name input_schema caused issues because the system expects inputSchema. This change aligns the code with the correct naming convention and prevents potential runtime errors.

How Has This Been Tested?

Tested locally by running the affected code and confirmed it works without errors.

Breaking Changes

None. This is a non-breaking typo fix.

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 repository’s contribution guidelines
  • My code follows the project’s style guidelines
  • My changes do not break existing tests
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Additional context

No additional context.

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