Class ModelHint
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Provides hints to use for model selection.
public sealed class ModelHint
- Inheritance
-
ModelHint
- Inherited Members
Remarks
When multiple hints are specified in Hints, they are evaluated in order, with the first match taking precedence. Clients should prioritize these hints over numeric priorities.
See the schema for details.
Properties
Name
Gets or sets a hint for a model name.
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
Remarks
The specified string can be a partial or full model name. Clients may also map hints to equivalent models from different providers. Clients make the final model selection based on these preferences and their available models.