Skip to content

Commit d49b6b7

Browse files
committed
test: add comprehensive tests for structured output functionality
- Add unit tests for new data structures, `WithOutput*` functions, and helper functions in the `mcp` package. - Add tests for the schema validation logic, covering both valid and invalid structured content. - Add integration tests for the server to ensure the validation step is correctly triggered and handled within the tool call lifecycle.
1 parent 98c7a88 commit d49b6b7

File tree

1 file changed

+442
-0
lines changed

1 file changed

+442
-0
lines changed

0 commit comments

Comments
 (0)