MCPToolAnnotations

org.llm4s.mcp.MCPToolAnnotations
See theMCPToolAnnotations companion class

Attributes

Companion
class
Source
MCPTypes.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

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

Source
MCPTypes.scala
def toJson(annotations: MCPToolAnnotations): Value

The wire form: only the fields that are set.

The wire form: only the fields that are set.

Attributes

Source
MCPTypes.scala

Implicits

Implicits

Attributes

Source
MCPTypes.scala