[Doc] Mention resources/list and resources/read in the README

Follow-up to https://github.com/modelcontextprotocol/ruby-sdk/pull/160
This commit is contained in:
Koichi ITO 2025-10-12 00:31:23 +09:00
commit 93215f4d52

View file

@ -826,8 +826,10 @@ The `MCP::Client` class provides an interface for interacting with MCP servers.
This class supports:
- Tool listing via the `tools/list` method
- Tool invocation via the `tools/call` method
- Tool listing via the `tools/list` method (`MCP::Client#tools`)
- Tool invocation via the `tools/call` method (`MCP::Client#call_tools`)
- Resource listing via the `resources/list` method (`MCP::Client#resources`)
- Resource reading via the `resources/read` method (`MCP::Client#read_resources`)
- Automatic JSON-RPC 2.0 message formatting
- UUID request ID generation