Expand description
LLM sampling types
This module contains types for server-initiated LLM sampling:
- MCP 2025-11-25: Basic text-based sampling
- MCP 2025-11-25 draft (SEP-1577): + Tool calling support
Structs§
- Create
Message Request - Create message request (for LLM sampling)
- Create
Message Result - Create message result
- Model
Hint - Model hint for selection (MCP 2025-11-25 compliant)
- Model
Preferences - Model preferences for sampling (MCP 2025-11-25 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