JsonRpcNotification

org.llm4s.mcp.JsonRpcNotification
See theJsonRpcNotification companion object
case class JsonRpcNotification(jsonrpc: String, method: String, params: Option[Value])

JSON-RPC 2.0 notification structure for MCP protocol communication. Notifications are requests without an ID - the client doesn't expect a response. Used for fire-and-forget messages like the "initialized" notification.

Value parameters

jsonrpc

Protocol version, always "2.0"

method

The method name to invoke on the server

params

Optional parameters for the method

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product