Module: MCPClient::Client::SamplingValidation

Included in:
MCPClient::Client
Defined in:
lib/mcp_client/client/sampling_validation.rb

Overview

The client's own handling of a server's sampling request: the shape the 2026-07-28 specification requires of a message history before the host's sampler is asked for a completion, and the refusal when it is not met. Mixed into MCPClient::Client; every method is private there.