OzMcp.Structs.NotificationParams (OzMcp v0.9.0)

Copy Markdown View Source

Helper module used to build NotificationParams structure.

(MCP protocol: 2025-11-25)

Short example:

%NotificationParams{}
  |> NotificationParams._meta(%{"progressToken" => 42})
  |> NotificationParams.build()

Result:

%{"_meta" => %{"progressToken" => 42}}

Specification: no definition in specification 2025-11-25.

Fields

FieldSetterTypeRequired
_meta_meta/2mapno

Summary

Types

t()

@type t() :: %OzMcp.Structs.NotificationParams{_meta: map() | nil}

Functions

build(struct)

@spec build(t()) :: map()