mcp.schema.result
Members list
Type members
Classlikes
The server's response to a tool call.
The server's response to a tool call.
Any errors that originate from the tool SHOULD be reported inside the result object, with isError
set to true, not as an MCP protocol-level error response. Otherwise, the LLM would not be able to see that an error occurred and self-correct.
However, any errors in finding the tool, an error indicating that the server does not support tool calls, or any other exceptional conditions, should be reported as an MCP error response.
Attributes
- Companion
- object
- Source
- CallToolResult.scala
- Supertypes
Attributes
- Companion
- class
- Source
- CallToolResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CallToolResult.type
The server's response to a completion/complete request
The server's response to a completion/complete request
Attributes
- Companion
- object
- Source
- CompleteResult.scala
- Supertypes
Attributes
- Companion
- class
- Source
- CompleteResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CompleteResult.type
The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it.
The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it.
Attributes
- Companion
- object
- Source
- CreateMessageResult.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SamplingMessagetrait Resultclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- CreateMessageResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CreateMessageResult.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.
Attributes
- Companion
- object
- Source
- GetPromptResult.scala
- Supertypes
Attributes
- Companion
- class
- Source
- GetPromptResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
GetPromptResult.type
After receiving an initialize request from the client, the server sends this response.
After receiving an initialize request from the client, the server sends this response.
Attributes
- Companion
- object
- Source
- InitializeResult.scala
- Supertypes
Attributes
- Companion
- class
- Source
- InitializeResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
InitializeResult.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.
Attributes
- Companion
- object
- Source
- ListPromptsResult.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PaginatedResulttrait Resultclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ListPromptsResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ListPromptsResult.type
Attributes
- Companion
- object
- Source
- ListResourceTemplatesResult.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PaginatedResulttrait Resultclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ListResourceTemplatesResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Source
- ListResourcesResult.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PaginatedResulttrait Resultclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ListResourcesResult.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.
Attributes
- Companion
- object
- Source
- ListRootsResult.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ListRootsResult.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.
Attributes
- Companion
- object
- Source
- ListToolsResult.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PaginatedResulttrait Resultclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ListToolsResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ListToolsResult.type
Attributes
- Source
- package.scala
- Supertypes
- Known subtypes
The server's response to a resources/read request from the client.
The server's response to a resources/read request from the client.
Attributes
- Companion
- object
- Source
- ReadResourceResult.scala
- Supertypes
Attributes
- Companion
- class
- Source
- ReadResourceResult.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ReadResourceResult.type
Attributes
- Companion
- trait
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Result.type
Attributes
- Companion
- object
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CallToolResultclass CompleteResultclass CreateMessageResultclass GetPromptResultclass InitializeResultclass ListRootsResulttrait PaginatedResultclass ListPromptsResultclass ListResourcesResultclass ListToolsResultclass ReadResourceResultclass EmptyShow all
Attributes
- Companion
- trait
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SamplingMessage.type
Attributes
- Companion
- object
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CreateMessageResult