Raxol.Agent.McpClient.Message (Raxol Agent v2.6.0)

Copy Markdown View Source

JSON-RPC 2.0 message encoding/decoding for MCP.

This module delegates to Raxol.MCP.Protocol. Use Raxol.MCP.Protocol directly for new code.

Summary

Functions

decode(json)

See Raxol.MCP.Protocol.decode/1.

encode(message)

See Raxol.MCP.Protocol.encode/1.

error?(msg)

See Raxol.MCP.Protocol.error?/1.

notification(method, params \\ %{})

See Raxol.MCP.Protocol.notification/2.

notification?(msg)

See Raxol.MCP.Protocol.notification?/1.

request(id, method, params \\ %{})

See Raxol.MCP.Protocol.request/3.

response?(msg)

See Raxol.MCP.Protocol.response?/1.