Interface ClientContext

All Known Implementing Classes:
WireClientContext

public interface ClientContext
Typed access to the client-facing collaboration channels a handler may invoke: elicitation and sampling round-trips.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the elicitation service for requesting additional information from the user.
    Deprecated.
    Sampling is deprecated as of protocol version 2026-07-28 (SEP-2577)
  • Method Details

    • elicitation

      ElicitationService elicitation()
      Returns the elicitation service for requesting additional information from the user.
      Returns:
      the elicitation service
    • sampling

      Deprecated.
      Sampling is deprecated as of protocol version 2026-07-28 (SEP-2577)
      Returns the sampling service for requesting an LLM completion from the client.
      Returns:
      the sampling service