Skip to content

Conversation

ishan121028
Copy link

This is a fix for the bug 1224 and implements the parameter and method for the metadata that is passed for cases when the info is to be hidden from LLMs.

Motivation and Context

1224

How Has This Been Tested?

Yes I have tested with

Breaking Changes

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

@ishan121028 ishan121028 requested a review from a team as a code owner September 17, 2025 20:28
@ishan121028 ishan121028 requested a review from dsp-ant September 17, 2025 20:28
@ishan121028
Copy link
Author

@dsp-ant, @LucaButBoring Request you to review this very small change this is my first contribution just exploring the repo as of now.

@@ -271,17 +271,22 @@ async def call_tool(
self,
name: str,
arguments: dict[str, Any] | None = None,
meta: dict[str, Any] | None = None,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to the end for backwards-compatibility — we should have probably added a , *, before, but I'll leave that up to a maintainer to decide if we should start doing that or not (it would also be a breaking change if we started doing that now).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, except the second thing would wait on that for the same

@LucaButBoring
Copy link
Contributor

LGTM after changes (I do not have merge permissions, however)

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