Expand description
LLM sampling types (MCP 2025-06-18)
This module contains types for server-initiated LLM sampling, allowing servers to request LLM interactions from clients.
Structs§
- Create
Message Request - Create message request (for LLM sampling)
- Create
Message Result - Create message result
- Model
Hint - Model hint for selection (MCP 2025-06-18 compliant)
- Model
Preferences - Model preferences for sampling (MCP 2025-06-18 compliant)
- Sampling
Message - Sampling message structure
- Usage
Stats - Usage statistics for sampling
Enums§
- Include
Context - Include context options for sampling
- Stop
Reason - Stop reason for generation