Skip to content

Commit 58ef0d3

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 5decca9 commit 58ef0d3

File tree

3 files changed

+625
-1
lines changed

3 files changed

+625
-1
lines changed

0 commit comments

Comments
 (0)