Current section

Files

Jump to
pi_bridge lib pi protocol mcp content.ex
Raw

lib/pi/protocol/mcp/content.ex

defmodule Pi.Protocol.MCP.Content do
@moduledoc "Text content item in an MCP JSON-RPC response."
use JSONCodec, fast_path: :json
defstruct [:type, :text]
@type t :: %__MODULE__{type: String.t(), text: String.t()}
end