Session

sealed interface Session : McpAttributes.Mcp(source)

Identifies the MCP session. This is a RECOMMENDED attribute when the request is part of a session.

Example: "191c4850af6c49e08843a3f6c80e5046"

Inheritors

Types

Link copied to clipboard
data class Id(val id: String) : McpAttributes.Mcp.Session

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.