Interface IBaseMetadata
- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Provides a base interface for metadata with name (identifier) and title (display name) properties.
public interface IBaseMetadata
Properties
Name
Gets or sets the unique identifier for this item.
[JsonPropertyName("name")]
string Name { get; set; }
Property Value
Title
Gets or sets a title.
[JsonPropertyName("title")]
string? Title { get; set; }
Property Value
Remarks
This is intended for UI and end-user contexts. It is optimized to be human-readable and easily understood, even by those unfamiliar with domain-specific terminology. If not provided, Name may be used for display (except for tools, where Title, if present, should be given precedence over using Name).