MCPToolAnnotations

org.llm4s.mcp.MCPToolAnnotations
See theMCPToolAnnotations companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromJson(value: Value): MCPToolAnnotations

Reads a tool's annotations value. Lenient on purpose: a server's annotations are advisory, so a missing value, a value that is not an object, an unknown key, or a hint of the wrong type is ignored (that field is None) rather than failing the whole tool list.

Reads a tool's annotations value. Lenient on purpose: a server's annotations are advisory, so a missing value, a value that is not an object, an unknown key, or a hint of the wrong type is ignored (that field is None) rather than failing the whole tool list.

Attributes

def toJson(annotations: MCPToolAnnotations): Value

The wire form: only the fields that are set.

The wire form: only the fields that are set.

Attributes

Implicits

Implicits

implicit val rw: ReadWriter[MCPToolAnnotations]