ruby-sdk/test/mcp/client
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Valentino Stoll aad8e94530
Add Tool output_schema support with comprehensive validation
This commit implements optional JSON Schema validation for tool outputs according to the MCP specification:

- Add MCP::Tool::OutputSchema class mirroring InputSchema functionality
- Support output_schema in class definitions, Tool.define, and OutputSchema objects
- Include validate_result method for runtime validation
- Update MCP::Client::Tool to track output schemas
- Add comprehensive test coverage with 249 passing tests
- Update README with dedicated Tool Output Schemas section
- Follow MCP spec requirements for server/client validation
2025-09-11 11:12:27 -04:00
..
http_test.rb Add basic HTTP client support with pluggable transports 2025-09-08 15:52:37 -05:00
tool_test.rb Add Tool output_schema support with comprehensive validation 2025-09-11 11:12:27 -04:00