| Package | Description |
|---|---|
| io.modelcontextprotocol.server |
| Modifier and Type | Method and Description |
|---|---|
static McpServerFeatures.AsyncToolSpecification.Builder |
McpServerFeatures.AsyncToolSpecification.builder()
Creates a new builder instance.
|
McpServerFeatures.AsyncToolSpecification.Builder |
McpServerFeatures.AsyncToolSpecification.Builder.callHandler(BiFunction<McpAsyncServerExchange,McpSchema.CallToolRequest,reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler)
Sets the call tool handler function.
|
McpServerFeatures.AsyncToolSpecification.Builder |
McpServerFeatures.AsyncToolSpecification.Builder.tool(McpSchema.Tool tool)
Sets the tool definition.
|
Copyright © 2025. All rights reserved.