Merge pull request #163 from dak2/add-client-prompts-support

Add `prompts/list` and `prompts/get` support to client
This commit is contained in:
Koichi ITO 2025-10-19 02:24:36 +09:00 • committed by GitHub
commit ad87c8d805
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -836,6 +836,8 @@ This class supports:
- 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`)
- Prompt listing via the `prompts/list` method (`MCP::Client#prompts`)
- Prompt retrieval via the `prompts/get` method (`MCP::Client#get_prompt`)
- Automatic JSON-RPC 2.0 message formatting
- UUID request ID generation