GenMCP.MCP.V2607.CancelledNotification (gen_mcp v2.0.0)

Copy Markdown View Source

Struct and module-based JSON schema generated from modelcontextprotocol.io JSON schema.

This notification is sent by the client to indicate that it is cancelling a request it previously issued.

On stdio, the server also sends this notification, solely to terminate a {@link SubscriptionsListenRequestsubscriptions/listen} stream: it references the ID of the subscriptions/listen request that opened the stream. Servers MUST NOT use this notification to cancel any other request.

The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.

This notification indicates that the result will be unused, so any associated processing SHOULD cease.

Summary

Functions

Returns the JSON schema for this entity.

Returns the JSON RPC method for this request.

Types

t()

@type t() :: %GenMCP.MCP.V2607.CancelledNotification{params: term()}

Functions

json_schema()

Returns the JSON schema for this entity.

method()

Returns the JSON RPC method for this request.