Backplane. McpProtocol. Server. Modern. Result
(backplane_mcp_protocol v0.6.0)
Copy Markdown
Normalizes callback outcomes for the stateless modern server path.
The callback's result map remains application-owned except for protocol fields that the server must authoritatively provide.
Summary
Functions
@spec normalize( String.t(), term(), Backplane.McpProtocol.Server.Modern.RequestContext.t(), module() | %{server_info: map()} ) :: {:ok, map()} | {:error, Backplane.McpProtocol.MCP.Error.t()}