The constructors of class SyncToolSpecification
and AsyncToolSpecification
in the underlying MCP Java SDK v0.11.0-SNAPSHOT
have been deprecated, so we can use builder pattern instead of deprecated constructors in class McpToolUtils
to improve code readability and maintainability.
Comment From: codeboyzhou
The PR #3808 has been created to solve this issue.