Skip to content

Commit 12bebdd

Browse files
committed
docs: remove stale @PARAM call from AsyncToolSpecification javadoc
1 parent c7fef64 commit 12bebdd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎mcp-core/src/main/java/io/modelcontextprotocol/server/McpServerFeatures.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,11 @@ record Sync(McpSchema.Implementation serverInfo, McpSchema.ServerCapabilities se
228228
* represents a specific capability.
229229
*
230230
* @param tool The tool definition including name, description, and parameter schema
231-
* @param call Deprecated. Use the {@link AsyncToolSpecification#callHandler} instead.
232231
* @param callHandler The function that implements the tool's logic, receiving a
233232
* {@link McpAsyncServerExchange} and a
234233
* {@link io.modelcontextprotocol.spec.McpSchema.CallToolRequest} and returning
235234
* results. The function's first argument is an {@link McpAsyncServerExchange} upon
236-
* which the server can interact with the connected client. The second arguments is a
235+
* which the server can interact with the connected client. The second argument is a
237236
* map of tool arguments.
238237
*/
239238
public record AsyncToolSpecification(McpSchema.Tool tool,

0 commit comments

Comments
 (0)