Module client

Module client 

Source
Expand description

Client-specific MCP schema types

Structs§

ArgumentInfo
Argument information for completion
CallToolParams
Parameters for call tool request
CallToolRequest
Used by the client to invoke a tool provided by the server.
CancelledNotification
A notification which can be sent by either side to indicate that it is cancelling a previously-issued request.
CancelledParams
Parameters for cancelled notification
ClientCapabilities
Client capabilities
CompleteParams
Parameters for complete request
CompleteRequest
A request from the client to the server, to ask for completion options.
GetPromptParams
Parameters for get prompt request
GetPromptRequest
Used by the client to get a prompt provided by the server.
GetPromptResult
The server’s response to a prompts/get request from the client.
InitializeParams
Parameters for initialize request
InitializeRequest
This request is sent from the client to the server when it first connects.
InitializedNotification
This notification is sent from the client to the server after initialization has finished.
ListPromptsRequest
Sent from the client to request a list of prompts and prompt templates the server has.
ListPromptsResult
The server’s response to a prompts/list request from the client.
ListResourceTemplatesRequest
Sent from the client to request a list of resource templates the server has.
ListResourceTemplatesResult
The server’s response to a resources/templates/list request from the client.
ListResourcesRequest
Sent from the client to request a list of resources the server has.
ListResourcesResult
The server’s response to a resources/list request from the client.
ListRootsResult
The client’s response to a roots/list request from the server.
ListToolsRequest
Sent from the client to request a list of tools the server has.
ListToolsResult
The server’s response to a tools/list request from the client.
PaginatedParams
Parameters for paginated requests
PingRequest
A ping, issued by either the server or the client, to check that the other party is still alive.
ProgressNotification
An out-of-band notification used to inform the receiver of a progress update for a long-running request.
ProgressParams
Parameters for progress notification
PromptReference
Identifies a prompt.
ReadResourceParams
Parameters for read resource request
ReadResourceRequest
Sent from the client to the server, to read a specific resource URI.
ReadResourceResult
The server’s response to a resources/read request from the client.
ResourceReference
A reference to a resource or resource template definition.
RootsCapability
Roots capability
RootsListChangedNotification
A notification from the client to the server, informing it that the list of roots has changed.
SetLevelParams
Parameters for set level request
SetLevelRequest
A request from the client to the server, to enable or adjust logging.
SubscribeParams
Parameters for subscribe request
SubscribeRequest
Sent from the client to request resources/updated notifications from the server.
UnsubscribeParams
Parameters for unsubscribe request
UnsubscribeRequest
Sent from the client to request cancellation of resources/updated notifications from the server.

Enums§

Reference
Reference to a prompt or resource
ResourceContent
Resource content