dak2
|
e88deb6b65
|
Add prompts/list and prompts/get support to client
This commit adds two new methods to `MCP::Client`:
- prompts: Lists available prompts from the server via `prompts/list`
- get_prompt: Retrieves a specific prompt by name via `prompts/get`
Both methods follow the same pattern as the existing resources support,
including comprehensive test coverage and README documentation updates.
ref. https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-03-26/server/prompts.mdx#protocol-messages
|
2025-10-15 13:16:41 +09:00 |
|