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 Serializabletrait Producttrait Equalstrait McpResourceclass Objecttrait Matchableclass Any
Members list
In this article