Skip to content

docs: remove stale @param call from AsyncToolSpecification javadoc - #1143

Open
zh-hanlabs wants to merge 1 commit into
modelcontextprotocol:mainfrom
zh-hanlabs:docs/remove-stale-call-param
Open

zh-hanlabs wants to merge 1 commit into
modelcontextprotocol:mainfrom
zh-hanlabs:docs/remove-stale-call-param

Conversation

@zh-hanlabs

Copy link
Copy Markdown

What

The AsyncToolSpecification javadoc still documents a @param call marked as deprecated, but the deprecated call record component no longer exists — the record now only has tool and callHandler. This removes the stale tag and fixes a small grammar slip in the callHandler description ("The second arguments is" → "The second argument is").

Why

Javadoc for a record documents its components, so a tag for a removed component renders a nonexistent parameter in the generated documentation and shadows the actual callHandler description.

How checked

./mvnw -pl mcp-core compile passes; comment-only change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant