Skip to content

Expose sampling capabilities on high-level clients#2827

Open
sohammmmm10 wants to merge 1 commit into
modelcontextprotocol:mainfrom
sohammmmm10:docs/sampling-context-example
Open

Expose sampling capabilities on high-level clients#2827
sohammmmm10 wants to merge 1 commit into
modelcontextprotocol:mainfrom
sohammmmm10:docs/sampling-context-example

Conversation

@sohammmmm10

Copy link
Copy Markdown

Motivation and Context

How Has This Been Tested?

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

@sohammmmm10

Copy link
Copy Markdown
Author

All CI checks are passing.

This PR keeps the change scoped to exposing the existing ClientSession.sampling_capabilities support through the high-level Client and ClientSessionGroup APIs, with interaction coverage for sampling.context and sampling.tools.

Happy to adjust scope if maintainers prefer separating API pass-through from the interaction-test updates.

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