Static

mcp.schema.McpResource.Static
See theStatic companion object
final case class Static(uri: String, name: String, description: Option[String], mimeType: Option[String], annotations: Annotations) extends McpResource

A known resource that the server is capable of reading.

Value parameters

annotations

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

description

A description of what this resource represents. This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.

mimeType

The MIME type of this resource, if known.

name

A human-readable name for this resource. This can be used by clients to populate UI elements.

uri

the URI of the resource.

Attributes

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

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product