Expand description
Model Context Protocol (MCP) Sampling Delegation Engine & Registry.
Provides client-delegated LLM completion request suspension, ticketing, parameter tracking,
timeout expiration, and persistent atomic state storage (M-CANONICAL-DOCS).
Structs§
- Create
Message Params - Parameters for creating a sampling completion message (
sampling/createMessage). - Create
Message Result - Assistant completion result payload returned by client.
- Model
Preferences - Model selection hint and priority preferences.
- Pending
Sampling Request - In-memory and persistent record of a tracked sampling request ticket.
- Sampling
Message - A message exchanged in a sampling request.
- Sampling
Registry - Central registry managing pending sampling tickets and asynchronous wait channels.
Enums§
- Sampling
Content - Content element within a sampling message.
- Sampling
Request Status - Lifecycle status of a sampling ticket.
Type Aliases§
- Sampling
Wait Sender - Type alias for sampling completion sender channel.