Annotations

mcp.schema.`package`.Annotations
See theAnnotations companion object
final case class Annotations(audience: List[Role], priority: Option[Double])

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

Value parameters

audience

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

priority

Describes how important this data is for operating the server. A value of 1 means "most important," and indicates that the data is effectively required, while 0 means "least important," and indicates that the data is entirely optional. It is a number between 0 and 1.

Attributes

Companion
object
Source
package.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product