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