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