- Namespace
- ModelContextProtocol.Protocol
- Assembly
- ModelContextProtocol.Core.dll
Represents annotations that can be attached to content, resources, and resource templates.
public sealed class Annotations
- Inheritance
-
Annotations
- Inherited Members
Properties
Audience
Gets or sets the intended audience for this content as an array of Role values.
[JsonPropertyName("audience")]
public IList<Role>? Audience { get; set; }
Property Value
LastModified
Gets or sets the moment the resource was last modified.
[JsonPropertyName("lastModified")]
public DateTimeOffset? LastModified { get; set; }
Property Value
Priority
Gets or sets a value indicating how important this data is for operating the server.
[JsonPropertyName("priority")]
public float? Priority { get; set; }