McpServer.JsonRpc.Response (HTTP MCP Server v0.6.0)

View Source

Represents a JSON-RPC 2.0 response object.

Summary

Types

t()

@type t() :: %McpServer.JsonRpc.Response{
  error: map() | nil,
  id: String.t() | integer() | nil,
  jsonrpc: String.t(),
  result: any() | nil
}