Method

sealed interface Method : McpAttributes.Mcp(source)

The name of the request or notification method. This is a REQUIRED attribute for all MCP operations.

Inheritors

Types

Link copied to clipboard
data class Name(val name: String) : McpAttributes.Mcp.Method

Properties

Link copied to clipboard
open override val key: String

Attribute key

Link copied to clipboard
abstract val value: Any

Attribute value.

Functions

Link copied to clipboard
open fun String.concatKey(other: String): String

Joins two attribute-key segments with a . separator.