Annotations

data class Annotations(val audience: List<Role>? = null, val priority: Double? = null, val lastModified: String? = null)(source)

Optional annotations for the client.

The client can use annotations to inform how objects are used or displayed.

Constructors

Link copied to clipboard
constructor(audience: List<Role>? = null, priority: Double? = null, lastModified: String? = null)

Properties

Link copied to clipboard

Describes who the intended customer of this object or data is. Can include multiple entries to indicate content useful for multiple audiences (e.g., Role.user, Role.assistant).

Link copied to clipboard

The moment the resource was last modified, as an ISO 8601 formatted string (e.g., "2025-01-12T15:00:58Z"). Examples: last activity timestamp in an open file, timestamp when the resource was attached, etc.

Link copied to clipboard

Describes how important this data is for operating the server. A value of 1.0 means "most important" and indicates that the data is effectively required, while 0.0 means "least important" and indicates that the data is entirely optional. Should be a value between 0.0 and 1.0.