Attributes
- Companion
- class
- Source
- McpSchema.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
McpSchema.type
Members list
Type members
Classlikes
Base for objects that include optional annotations for the client. The client can use annotations to inform how objects are used or displayed
Base for objects that include optional annotations for the client. The client can use annotations to inform how objects are used or displayed
Attributes
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Optional annotations for the client. The client can use annotations to inform how objects are used or displayed.
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
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Annotations.type
Binary contents of a resource.
Binary contents of a resource.
Value parameters
- blob
-
a base64-encoded string representing the binary data of the resource. This must only be set if the resource can actually be represented as binary data (not text).
- mimeType
-
the MIME type of this resource.
- uri
-
the URI of this resource.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ResourceContentsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
BlobResourceContents.type
Used by the client to call a tool provided by the server.
Used by the client to call a tool provided by the server.
Value parameters
- arguments
-
Arguments to pass to the tool. These must conform to the tool's input schema.
- name
-
The name of the tool to call. This must match a tool name from tools/list.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CallToolRequest.type
The server's response to a tools/call request from the client.
The server's response to a tools/call request from the client.
Value parameters
- content
-
A list of content items representing the tool's output. Each item can be text, an image, or an embedded resource.
- isError
-
If true, indicates that the tool execution failed and the content contains error information. If false or absent, indicates successful execution.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CallToolResult.type
Clients can implement additional features to enrich connected MCP servers with additional capabilities. These capabilities can be used to extend the functionality of the server, or to provide additional information to the server about the client's capabilities.
Clients can implement additional features to enrich connected MCP servers with additional capabilities. These capabilities can be used to extend the functionality of the server, or to provide additional information to the server about the client's capabilities.
Value parameters
- experimental
-
WIP
- roots
-
define the boundaries of where servers can operate within the filesystem, allowing them to understand which directories and files they have access to.
- sampling
-
Provides a standardized way for servers to request LLM sampling (“completions” or “generations”) from language models via clients.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ClientCapabilities.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompleteArgument.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompleteCompletion.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompleteRequest.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompleteResult.type
Attributes
- Companion
- trait
- Source
- McpSchema.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Content.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- enum
- Source
- McpSchema.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CreateMessageRequest.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CreateMessageResult.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
EmbeddedResource.type
Standard error codes used in MCP JSON-RPC responses.
Standard error codes used in MCP JSON-RPC responses.
Attributes
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ErrorCodes.type
Used by the client to get a prompt provided by the server.
Used by the client to get a prompt provided by the server.
Value parameters
- arguments
-
Arguments to use for templating the prompt.
- name
-
The name of the prompt or prompt template.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
GetPromptRequest.type
The server's response to a prompts/get request from the client.
The server's response to a prompts/get request from the client.
Value parameters
- description
-
An optional description for the prompt.
- messages
-
A list of messages to display as part of the prompt.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
GetPromptResult.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ImageContent.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Implementation.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
InitializeRequest.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
InitializeResult.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JSONRPCMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
JSONRPCBatch.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
JSONRPCError.type
Attributes
- Companion
- trait
- Source
- McpSchema.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
JSONRPCMessage.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JSONRPCMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
JSONRPCNotification.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JSONRPCMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
JSONRPCRequest.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JSONRPCMessageclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
JSONRPCResponse.type
The server's response to a prompts/list request from the client.
The server's response to a prompts/list request from the client.
Value parameters
- nextCursor
-
An optional cursor for pagination. If present, indicates there are more prompts available.
- prompts
-
A list of prompts that the server provides.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ListPromptsResult.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ListResourcesResult.type
The client's response to a roots/list request from the server. This result contains an array of Root objects, each representing a root directory or file that the server can operate on.
The client's response to a roots/list request from the server. This result contains an array of Root objects, each representing a root directory or file that the server can operate on.
Value parameters
- roots
-
An array of Root objects, each representing a root directory or file that the server can operate on.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ListRootsResult.type
The server's response to a tools/list request from the client.
The server's response to a tools/list request from the client.
Value parameters
- nextCursor
-
An optional cursor for pagination. If present, indicates there are more tools available.
- tools
-
A list of tools that the server provides.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ListToolsResult.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LoggingCapabilities.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- enum
- Source
- McpSchema.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LoggingLevel.type
The Model Context Protocol (MCP) provides a standardized way for servers to send structured log messages to clients. Clients can control logging verbosity by setting minimum log levels, with servers sending notifications containing severity levels, optional logger names, and arbitrary JSON-serializable data.
The Model Context Protocol (MCP) provides a standardized way for servers to send structured log messages to clients. Clients can control logging verbosity by setting minimum log levels, with servers sending notifications containing severity levels, optional logger names, and arbitrary JSON-serializable data.
Value parameters
- data
-
JSON-serializable logging data.
- level
-
The severity levels. The mimimum log level is set by the client.
- logger
-
The logger that generated the message.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Method.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ModelHint.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ModelPreferences.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PaginatedRequest.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PaginatedResult.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ProgressNotification.type
A prompt or prompt template that the server offers.
A prompt or prompt template that the server offers.
Value parameters
- arguments
-
A list of arguments to use for templating the prompt.
- description
-
An optional description of what this prompt provides.
- name
-
The name of the prompt or prompt template.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Prompt.type
Describes an argument that a prompt can accept.
Describes an argument that a prompt can accept.
Value parameters
- description
-
A human-readable description of the argument.
- name
-
The name of the argument.
- required
-
Whether this argument must be provided.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PromptArgument.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PromptCapabilities.type
Attributes
- Source
- McpSchema.scala
- Supertypes
Describes a message returned as part of a prompt.
Describes a message returned as part of a prompt.
This is similar to SamplingMessage
, but also supports the embedding of resources from the MCP server.
Value parameters
- content
-
The content of the message of type Content.
- role
-
The sender or recipient of messages and data in a conversation.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PromptMessage.type
Attributes
- Companion
- trait
- Source
- McpSchema.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class PromptReferenceclass ResourceReference
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PromptReference.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ReadResourceRequest.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ReadResourceResult.type
Attributes
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CallToolRequestclass CompleteRequestclass CreateMessageRequestclass GetPromptRequestclass InitializeRequest
Attributes
- Companion
- trait
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Resource.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ResourceTemplateclass StaticResource
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ResourceCapabilities.type
Attributes
- Companion
- trait
- Source
- McpSchema.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ResourceContents.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BlobResourceContentsclass TextResourceContents
Attributes
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ResourceReference.type
Resource templates allow servers to expose parameterized resources using URI templates.
Resource templates allow servers to expose parameterized resources using URI templates.
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.
- uriTemplate
-
A URI template that can be used to generate URIs for this resource.
Attributes
- See also
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ResourceTemplate.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- enum
- Source
- McpSchema.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Role.type
Represents a root directory or file that the server can operate on.
Represents a root directory or file that the server can operate on.
Value parameters
- name
-
An optional name for the root. This can be used to provide a human-readable identifier for the root, which may be useful for display purposes or for referencing the root in other parts of the application.
- uri
-
The URI identifying the root. This must start with file:// for now. This restriction may be relaxed in future versions of the protocol to allow other URI schemes.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Root.type
Roots define the boundaries of where servers can operate within the filesystem, allowing them to understand which directories and files they have access to. Servers can request the list of roots from supporting clients and receive notifications when that list changes.
Roots define the boundaries of where servers can operate within the filesystem, allowing them to understand which directories and files they have access to. Servers can request the list of roots from supporting clients and receive notifications when that list changes.
Value parameters
- listChanged
-
Whether the client would send notification about roots has changed since the last time the server checked.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RootCapabilities.type
Provides a standardized way for servers to request LLM sampling ("completions" or "generations") from language models via clients. This flow allows clients to maintain control over model access, selection, and permissions while enabling servers to leverage AI capabilities—with no server API keys necessary. Servers can request text or image-based interactions and optionally include context from MCP servers in their prompts.
Provides a standardized way for servers to request LLM sampling ("completions" or "generations") from language models via clients. This flow allows clients to maintain control over model access, selection, and permissions while enabling servers to leverage AI capabilities—with no server API keys necessary. Servers can request text or image-based interactions and optionally include context from MCP servers in their prompts.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Sampling.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SamplingMessage.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ServerCapabilities.type
A known resource that the server is capable of reading.
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
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StaticResource.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- enum
- Source
- McpSchema.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
StopReason.type
Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.
Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.
Value parameters
- uri
-
the URI of the resource to subscribe to. The URI can use any protocol; it is up to the server how to interpret it.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SubscribeRequest.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TextContent.type
Text contents of a resource.
Text contents of a resource.
Value parameters
- mimeType
-
the MIME type of this resource.
- text
-
the text of the resource. This must only be set if the resource can actually be represented as text (not binary data).
- uri
-
the URI of this resource.
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ResourceContentsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TextResourceContents.type
Represents a tool that the server provides. Tools enable servers to expose executable functionality to the system. Through these tools, you can interact with external systems, perform computations, and take actions in the real world.
Represents a tool that the server provides. Tools enable servers to expose executable functionality to the system. Through these tools, you can interact with external systems, perform computations, and take actions in the real world.
Value parameters
- description
-
A human-readable description of what the tool does. This can be used by clients to improve the LLM's understanding of available tools.
- name
-
A unique identifier for the tool. This name is used when calling the tool.
Attributes
- Source
- McpSchema.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ToolSchemaclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ToolCapabilities.type
Attributes
- Companion
- trait
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ToolSchema.type
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- object
- Source
- McpSchema.scala
- Supertypes
Attributes
- Companion
- class
- Source
- McpSchema.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
UnsubscribeRequest.type
Types
Attributes
- Source
- McpSchema.scala
Value members
Concrete fields
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala
Attributes
- Source
- McpSchema.scala