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.SyncToolSpecification.Builder |
McpServerFeatures.SyncToolSpecification.Builder.callHandler(BiFunction<McpSyncServerExchange,McpSchema.CallToolRequest,McpSchema.CallToolResult> callHandler)
Sets the call tool handler function.
|
McpStatelessServerFeatures.SyncToolSpecification.Builder |
McpStatelessServerFeatures.SyncToolSpecification.Builder.callHandler(BiFunction<McpTransportContext,McpSchema.CallToolRequest,McpSchema.CallToolResult> callHandler)
Sets the call tool handler function.
|
McpStatelessServerFeatures.AsyncToolSpecification.Builder |
McpStatelessServerFeatures.AsyncToolSpecification.Builder.callHandler(BiFunction<McpTransportContext,McpSchema.CallToolRequest,reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler)
Sets the call tool handler function.
|
McpServer.AsyncSpecification<S> |
McpServer.AsyncSpecification.toolCall(McpSchema.Tool tool,
BiFunction<McpAsyncServerExchange,McpSchema.CallToolRequest,reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler)
Adds a single tool with its implementation handler to the server.
|
McpServer.SyncSpecification<S> |
McpServer.SyncSpecification.toolCall(McpSchema.Tool tool,
BiFunction<McpSyncServerExchange,McpSchema.CallToolRequest,McpSchema.CallToolResult> handler)
Adds a single tool with its implementation handler to the server.
|
McpServer.StatelessSyncSpecification |
McpServer.StatelessSyncSpecification.toolCall(McpSchema.Tool tool,
BiFunction<McpTransportContext,McpSchema.CallToolRequest,McpSchema.CallToolResult> callHandler)
Adds a single tool with its implementation handler to the server.
|
McpServer.StatelessAsyncSpecification |
McpServer.StatelessAsyncSpecification.toolCall(McpSchema.Tool tool,
BiFunction<McpTransportContext,McpSchema.CallToolRequest,reactor.core.publisher.Mono<McpSchema.CallToolResult>> callHandler)
Adds a single tool with its implementation handler to the server.
|