dak2
7b4ece294b
Fix and add test for client tools functionality
...
- Add test for empty tools array response to ensure client handles empty
results correctly
- Update call_tool test to use proper content format (array of content
objects) instead of plain string based on
modelcontextprotocol spec.
https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/docs/specification/2025-03-26/server/tools.mdx#calling-tools
Follow up: modelcontextprotocol#160
2025-10-13 11:14:48 +09:00
dak2
ad3c1b1b72
Fix test for empty resources response
...
Update test_resources_returns_empty_array_when_no_resources to use
correct mock response format with empty resources array instead of
empty result object. Also reorder test to group with other resources
tests.
Follow up: https://github.com/modelcontextprotocol/ruby-sdk/pull/160
2025-10-12 00:44:17 +09:00
Topher Bullock
2d1a1da937
add resources/list and resources/read support to client
2025-10-10 10:51:42 -04:00
Justin Harris
ae60e2d904
[client] Add call_tool_raw method to get the full tool response to help get structuredContent
2025-10-01 15:18:02 -04:00
Joey Cardosi
8b764428b1
Add basic HTTP client support with pluggable transports
2025-09-08 15:52:37 -05:00